Optional
source: DeepPartial<BarcodeFormatCommonConfiguration>Readonly
_typeIf true, we process the barcode scanning with an artificial quiet zone that we add to the input image. This flag should be used to scan sharp crops of a barcode.
false;
List of barcode formats to scan. By default, the most commonly used formats are enabled.
["AZTEC", "CODABAR", "CODE_39", "CODE_93", "CODE_128", "DATA_MATRIX", "DATABAR", "DATABAR_EXPANDED", "DATABAR_LIMITED", "EAN_13", "EAN_8", "ITF", "MICRO_QR_CODE", "PDF_417", "QR_CODE", "UPC_A", "UPC_E"];
GS1 message handling options.
"PARSE";
Maximum text length. 0 implies no maximum. Applied only to linear barcode formats that allow variable length.
0;
Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.
6;
Minimum acceptable value of a result BarcodeItem's sizeScore (between 0 and 1). Barcodes with a sizeScore less than this value will not be scanned. When set to 0, barcodes are returned no matter what their size is.
0.0;
Minimum text length. Applied only to linear barcode formats that allow variable length.
1;
Regular expression filter for barcode text. If the barcode text does not match the regular expression, it will not be scanned. The default is an empty string (setting is turned off).
"";
If true, the barcode scanner will only return barcodes that pass the strict validation checks according to standards to avoid false positives.
true;
If true, the check digits are stripped from the result.
false;
Generated using TypeDoc
Convenience configuration for enabling the scanning of multiple barcode formats with a common configuration. Add to scanner configuration to enable and configure the scanning of multiple barcodes.
The given configuration will be applied to all enabled barcode formats, if they support it. You can override the common configuration for individual barcode formats by additionally adding their specific configuration to the scanner's configuration.