discontinuedPackage flutter_document_scan_sdk has been discontinued and replaced by flutter_capture_vision.

DDNManager class

DDNManager class.

Constructors

DDNManager()

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

convertToRGBA32(ImageData imageData) → Uint8List
detectBuffer(Uint8List bytes, int width, int height, int stride, int format, int rotation) → Future<List<DocumentResult>>
Document edge detection bytes - bytes of the image. width - width of the image. height - height of the image. stride - stride of the image. format - format of the image. Returns a List of DocumentResult.
detectFile(String file) → Future<List<DocumentResult>>
Document edge detection file - path to the file. Returns a List of DocumentResult.
getParameters() → Future<String>
Returns the runtime settings.
init(String key) → Future<int>
Configure Dynamsoft Document Normalizer. Returns 0 if successful.
normalizeBuffer(Uint8List bytes, int width, int height, int stride, int format, dynamic points, int rotation, ColorMode color) → Future<NormalizedImage?>
Normalize documents. bytes - bytes of the image. width - width of the image. height - height of the image. stride - stride of the image. format - format of the image. points - points of the document. Returns a NormalizedImage.
normalizeFile(String file, dynamic points, ColorMode color) → Future<NormalizedImage?>
Normalize documents. file - path to the file. points - points of the document. Returns a NormalizedImage.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setParameters(String params) → Future<int>
Normalize the document. params are the parameters for the normalization. Returns 0 if successful.
toString() → String
A string representation of this object.
inherited

Operators

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