Detection of Potential Barcode Regions
Overview
To perform barcode recognition, first, Aspose.BarCode for C++ launches image segmentation and detects regions with potential barcodes to start the recognition process using corresponding methods. The library utilizes two barcode region detectors: the one with customizable sensitivity that is managed through a group of properties called DetectorSettings and the other one based on the previous detector implementation that allows successfully detecting approximately 97% of barcodes without additional settings. By default, the DetectorSettings mode is used together with the quality parameter set to NormalQuality.
Barcode Detector with Customized Sensibility
The DetectorSettings property group allows flexibly setting the sensitivity of the barcode detector according to particular business needs. The higher is the detection sensitivity, the lower is recognition speed and the more accurate are the results of barcode region detection in complex images with multiple textual blocks and tables. In the case of 1D barcodes, DetectorSettings provides the following modes for region detection sensitivity settings:
Old Version of Barcode Detector
The UseOldBarcodeDetector property enables 1D barcode region detection through the use of the previous detector implementation without flexible sensitivity settings. This region detection mode approximately corresponds to the NormalQuality and HighQuality settings of the new detector implemented in DetectorSettings.