FlutterOcrSdkWeb class
A web implementation of the FlutterOcrSdkPlatform of the FlutterOcrSdk plugin.
- Inheritance
-
- Object
- PlatformInterface
- FlutterOcrSdkPlatform
- FlutterOcrSdkWeb
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 path, String key) → Future< int?> -
Initialize the SDK: https://www.dynamsoft.com/customer/license/trialLicense?product=dlr
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 bufferwidth
is the width of the imageheight
is the height of the imagestride
is the stride of the imageformat
is the format of the image Returns a list of MRZ linesoverride -
recognizeByFile(
String filename) → Future< List< List< ?>MrzLine> > -
Recognize MRZ from a file
filename
is the path of the file Returns a list of MRZ linesoverride -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void