Class BarcodeFormatCommonFourStateConfiguration

Convenience configuration for enabling the scanning of multiple four-state barcode formats with a common configuration. Add to scanner configuration to enable and configure the scanning of multiple four-state codes.

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.

Hierarchy

Constructors

Properties

_type: "BarcodeFormatCommonFourStateConfiguration"
addAdditionalQuietZone: boolean

If 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.

Default Value

false;
formats: BarcodeFormat[]

List of four-state barcode formats to scan.

Default Value

["AUSTRALIA_POST", "JAPAN_POST", "ROYAL_MAIL", "ROYAL_TNT_POST", "USPS_INTELLIGENT_MAIL"];
minimumSizeScore: number

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.

Default Value

0.0;
regexFilter: string

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).

Default Value

"";

Generated using TypeDoc