Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.BarCode for C++ enables setting one or many objects of the Rectangle type to limit target areas for barcode detection. This property allows improving recognition efficiency and avoiding the recognition of irrelevant barcodes placed in the areas out of interest. At the same time, it is necessary to select target regions justifiably because the Aspose library applies heuristic methods to localize regions for barcode recognition; hence, simply enumerating multiple areas can deteriorate reading efficiency.
To set a target region for barcode recognition, it is necessary to define an object of the Rectangle type using the BarCodeReader constructor or the SetBarCodeImage method.
The following code samples illustrate how to set a target recognition region in the source image using the two ways mentioned above.
In cases when it is required to specify several regions for barcode reading in the same source image, developers can define target areas in the same way as for the single region, namely, using the BarCodeReader constructor or the SetBarCodeImage method.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.