DetectedDocument class
Represents a detected document.
- Implemented types
Constructors
- DetectedDocument()
- Creates a new instance of the DetectedDocument class.
-
DetectedDocument.fromHandle(Pointer<
id3DetectedDocument> handle) - Creates a new instance of the DetectedDocument class.
Properties
- bounds ↔ PointList
-
Boundaries of the document detected, in the following order: top-left, top-right, bottom-right, bottom-left.
getter/setter pair
- confidence → int
-
Confidence score of the detected document, from 0 to 100.
no setter
-
handle
→ Pointer<
id3DetectedDocument> -
Gets the native handle.
return The native handle.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- info → DocumentInfo
-
Document information.
no setter
- orientation → DocumentOrientation
-
Document orientation in source image.
0,0,0means the document is in front of the camera.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clone(
) → DetectedDocument - Creates a copy of the DetectedDocument object.
-
dispose(
) → void - Releases all resources used by this DetectedDocument.
-
getBounds(
) → PointList - Gets the boundaries of the document detected, in the following order: top-left, top-right, bottom-right, bottom-left.
-
getConfidence(
) → int - Gets the confidence score of the detected document, from 0 to 100.
-
getInfo(
) → DocumentInfo - Gets the document information.
-
getOrientation(
) → DocumentOrientation - Gets the document orientation in source image. (0,0,0) means the document is in front of the camera.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBounds(
PointList bounds) → void - Sets the boundaries of the document detected, in the following order: top-left, top-right, bottom-right, bottom-left.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited