NativeOpencv class

Constructors

NativeOpencv()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

idCardOutputHeight int
no setter
idCardOutputWidth int
no setter

Static Methods

cropIdCard(Uint8List rgbaBytes, int width, int height) Uint8List?
rgbaBytes is the source frame's RGBA buffer (any width/height). Returns a tightly-packed RGBA buffer of size idCardOutputWidth * idCardOutputHeight * 4, or null if no card was detected.
getOpenCVVersion() String
isImageBlurred(Uint8List rgbaBytes, int width, int height) bool
rgbaBytes must be a tightly-packed RGBA buffer (width * height * 4 bytes). Returns true if the image is blurry.