LinearCodeParams
Description
Parameters for reading linear barcodes.Structure Fields
Type fields and default values (if defined) are described below:
Name | Type | Default | Description |
---|---|---|---|
MinThinBarSize | Real | 1.0f | Minimal size of a module in pixels |
MaxThinBarSize | Real | 6.0f | Maximal size of a module in pixels |
MinLength | Integer | 4 | Minimal number of characters in a decoded string |
MaxLength | Integer* | Maximal number of characters in a decoded string | |
AllowHighBlur | Bool | true | Enables high-blur digitizer. |
AllowDamage | Bool | true | Enables reading of barcodes with dirt, holes or occlusions. |
AllowNoQuietZone | Bool* | Enables reading codes without the obligatory empty areas before and after the bars. | |
AllowAddOns | Bool | false | Enables EAN and UPC add-ons 2 and 5 |
MinScore | Real | 0.25f | Filters out low confidence codes. Set to 0.0 to read as much as possible; increase to eliminate false reads. |