Barcode2DSearchMode
Specifies the method the function uses to search for 2D barcodes.
Elements
Name | Value | Description |
---|---|---|
IMAQ_SEARCH_MULTIPLE | 0 | The function searches for multiple 2D barcodes. |
IMAQ_SEARCH_SINGLE_CONSERVATIVE | 1 | The function searches for 2D barcodes using the same searching algorithm as IMAQ_SEARCH_MULTIPLE but stops searching after locating one valid barcode. |
IMAQ_SEARCH_SINGLE_AGGRESSIVE | 2 | The function searches for a single 2D barcode using a method that assumes the barcode occupies a majority of the search region. This method skips some of the predictive portions of the search algorithm used by IMAQ_SEARCH_SINGLE_CONSERVATIVE, which can lead to improved performance. Using this search mode when the barcode does not occupy a majority of the search region, when the barcode is rotated or when the image is blurry, can lead to reduced performance. |
IMAQ_BARCODE_2D_SEARCH_MODE_SIZE_GUARD | 0xFFFFFFFF | Reserved |