DatacodeDetectionParams
Description
Specifies how data codes are being detected.Structure Fields
Type fields and default values (if defined) are described below:
| Name | Type | Default | Description |
|---|---|---|---|
| ContrastThreshold | Integer | 10 | Guaranteed gray level difference between dark and bright modules. |
| ContrastPerturbations | Integer | 0 | Number of perturbations applied to ContrastThreshold for improving possibility of detection when lighting conditions are highly variable. |
| DetectionMethod | DatacodeDetectionMethod | FinderEdges | Specifies which feature is used for code detection. |
| PyramidStrategy | DatacodePyramidStrategy | Precise | Specifies the step of image downsampling used for finding codes at different scales. |
| OutlineStrategy | DatacodeDecodeStrategy | Precise | Specifies precision of outline detection |
| FinderTradeoff | DatacodeFinderTradeoff* | Balanced | Use 'Sensitive' for Data Matrix with narrow quiet zones. It is also more accurate for barcodes and QR codes, but slower. Use 'Robust' to better deal with damaged codes. |
| EdgeTracker | DatacodeEdgeTracker | Strong | Decides how strongly edge tracker preserves continuity of an edge. Strong tracker produces more consistent edges, even in presence of significant noise. Weak tracker is faster. |
| UseSuperRes | Bool* | Controls image up-scaling for low-resolution codes (depending on MinModuleSize). |
