NativeOpencv class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
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.