BarcodeClassicScannerConfiguration class

Inheritance

Constructors

BarcodeClassicScannerConfiguration({List<BarcodeFormatConfigurationBase>? barcodeFormatConfigurations, List<BarcodeDocumentFormat>? extractedDocumentFormats, bool onlyAcceptDocuments = false, bool returnBarcodeImage = false, BarcodeAccumulationConfiguration? accumulationConfig, BarcodeSelectionConfiguration? selectionConfig, bool optimizedForOverlays = false, double directAcceptanceAreaFraction = 0.8, BarcodeScannerEngineMode engineMode = BarcodeScannerEngineMode.NEXT_GEN, ProcessingMode processingMode = ProcessingMode.AUTO})

Properties

accumulationConfig ↔ BarcodeAccumulationConfiguration
Configuration to accumulate barcodes across multiple frames in live mode.
getter/setter pairinherited
barcodeFormatConfigurations ↔ List<BarcodeFormatConfigurationBase>
Options for barcode decoding.
getter/setter pairinherited
detectorType → DetectorType
final
directAcceptanceAreaFraction ↔ double
In single-shot mode, if the combined area of detected barcodes exceeds this fraction of the input image, the scanner returns the result immediately. Further scanning is skipped, even if more barcodes may be present. This can be used to accelerate scanning when barcode sizes are known in advance. To disable this behaviour, the value must be set to 1.0.
getter/setter pairinherited
engineMode ↔ BarcodeScannerEngineMode
The engine mode for barcode scanning.
getter/setter pairinherited
extractedDocumentFormats ↔ List<BarcodeDocumentFormat>
List of document formats to be extracted. Barcodes that decode to one of the extracted document formats will have extractedDocument field in BarcodeItem populated with the parsed document. By default all supported barcode document formats are accepted. If empty, no barcodes will be parsed into documents. To only accept the document formats listed in extractedDocumentFormats, the property onlyAcceptDocuments must be true.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
onlyAcceptDocuments ↔ bool
If true and extractedDocumentFormats is not empty, then barcodes that don't decode to one of the extracted document formats will be ignored.
getter/setter pairinherited
optimizedForOverlays ↔ bool
If true, the quads of linear (1D) barcodes will be further refined to more closely match the barcode's outline in the input image. This will also produce stabler barcode outlines across frames for use cases such as AR.
getter/setter pairinherited
processingMode ↔ ProcessingMode
Scanners typically can produce better results from a single image if they are allowed to spend a longer time analyzing it.
getter/setter pairinherited
returnBarcodeImage ↔ bool
If true, the barcode image will be returned in the BarcodeItem.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectionConfig ↔ BarcodeSelectionConfiguration
Configuration used to select barcodes.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({ToJsonConfiguration? config}) → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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