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: the shape of the finder pattern or the blob of the quiet zone |
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 | Decides whether to optimize parameters for weak edges (sensitive) or for jagged ones (robust). |
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). |