DocumentClassicScannerConfiguration class
- Annotations
-
- @JsonSerializable(createFactory: false, includeIfNull: false, explicitToJson: true)
Constructors
-
DocumentClassicScannerConfiguration({bool? ignoreBadAspectRatio, bool? detectDocumentAfterSnap, bool? autoSnapEnabled, double? acceptedAngleScore, double? acceptedSizeScore, List<
PageAspectRatio> ? requiredAspectRatios, double? autoSnapSensitivity})
Properties
- acceptedAngleScore ↔ double?
-
read / write
- acceptedSizeScore ↔ double?
-
read / write
- autoSnapEnabled ↔ bool?
-
read / write
- autoSnapSensitivity ↔ double?
-
Changes sensitivity of auto-snapping. That is: the more sensitive it is the faster it shoots.
This parameter only works when
barcodeImageGenerationType = BarcodeImageGenerationType.CAPTURED_IMAGE
Sensitivity must be within0..1
range. A value of 1.0 triggers automatic capturing immediately, a value of 0.0 delays the automatic capturing by 3 seconds.read / write - detectDocumentAfterSnap ↔ bool?
-
Should detect document after snap?
If true it will run document detection on Original image and will create document image
Default - false
read / write
- detectorType → DetectorType
-
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- ignoreBadAspectRatio ↔ bool?
-
read / write
-
requiredAspectRatios
↔ List<
PageAspectRatio> ? -
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited