FlutterOcrSdkWeb class

A web implementation of the FlutterOcrSdkPlatform of the FlutterOcrSdk plugin.

Inheritance

Constructors

FlutterOcrSdkWeb()
Constructs a FlutterOcrSdkWeb

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

getPlatformVersion() Future<String?>
Returns a String containing the version of the platform.
override
init(String key) Future<int?>
Initialize the SDK: https://www.dynamsoft.com/customer/license/trialLicense/?product=dcv&package=cross-platform
override
loadModel() Future<int?>
Load the MRZ detection model.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recognizeByBuffer(Uint8List bytes, int width, int height, int stride, int format) Future<List<List<MrzLine>>?>
Recognize MRZ from a buffer bytes is the buffer width is the width of the image height is the height of the image stride is the stride of the image format is the format of the image Returns a list of MRZ lines
override
recognizeByFile(String filename) Future<List<List<MrzLine>>?>
Recognize MRZ from a file filename is the path of the file Returns a list of MRZ lines
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

registerWith(Registrar registrar) → void