LinearCodeParams
Description
Parameters for reading linear barcodes.Structure fields and default values (if defined) are described below:
| Name | Type | Default | Description |
|---|---|---|---|
| MinThinBarSize | float | 1.0f | Minimal size of a module in pixels |
| MaxThinBarSize | float | 6.0f | Maximal size of a module in pixels |
| MinLength | int | 4 | Minimal number of characters in a decoded string |
| MaxLength | atl::Optional<int> | 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 | atl::Optional<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 | float | 0.25f | Filters out low confidence codes. Set to 0.0 to read as much as possible; increase to eliminate false reads. |
