VinScannerConfiguration class
Configuration for the VIN scanner.
Constructors
- VinScannerConfiguration({bool optimizeSingleLine = true, bool extractVINFromBarcode = false, int ocrResolutionLimit = 0, int maximumNumberOfAccumulatedFrames = 3, int minimumNumberOfRequiredFramesWithEqualScanningResult = 2})
-
VinScannerConfiguration.fromJson(Map<
String, dynamic> json) -
factory
Properties
- extractVINFromBarcode ↔ bool
-
If true, the VIN scanner will also extract VINs from barcodes.
Requires a license that allows barcode scanning in addition to VIN scanning.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- maximumNumberOfAccumulatedFrames ↔ int
-
Maximum number of accumulated frames to inspect before actual result is returned.
getter/setter pair
- minimumNumberOfRequiredFramesWithEqualScanningResult ↔ int
-
Minimum number of accumulated frames that have equal result.
getter/setter pair
- ocrResolutionLimit ↔ int
-
Maximum image size (height or width) for OCR process. 0 - do not rescale.
getter/setter pair
- optimizeSingleLine ↔ bool
-
Optimize for scanning a single line or a single word. Enable this option when scanning a single line or single word that are hard to scan reliably.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{ToJsonConfiguration? config}) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited