Class BarcodeFormatPharmaCodeConfiguration

PharmaCode barcode configuration. Add to scanner configuration to scan linear (1D) Laetus Pharmacode barcodes. Two-track PharmaCode scanning is configured separately through the PharmaCodeTwoTrackConfig class.

Hierarchy

Constructors

Properties

_type: "BarcodeFormatPharmaCodeConfiguration"
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;
allowNarrowBarsOnly: boolean

If true, a result consisting of only narrow bars is accepted as valid. The specification does not recommend such barcodes. Default is false.

Default Value

false;
allowWideBarsOnly: boolean

If true, a result consisting of only wide bars is accepted as valid. The specification does not recommend such barcodes. Default is false.

Default Value

false;
minimum1DQuietZoneSize: number

Minimum quiet zone size on the left and right sides of a 1D barcode, measured in number of modules.

Default Value

6;
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;
minimumValue: number

Minimum value for PharmaCode. Very low values are likely to produce more false positives.

Default Value

16;
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