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

detectBuffer(Uint8List bytes, int width, int height, int stride, int format) 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) 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) 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
save(String filename) Future<int>
Download images. filename - name of the file. Returns 0 if successful.
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