Here’s some C code that shows how to read an opencv cv::Mat image using the barcode reader toolkit. The main points to note are: Read the image using the cv::IMREAD_GRAYSCALE flag Flip the image vertically Align the scan lines to 4 byte boundaries #include <barcode.h> #include <iostream> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> static void
As a start of year special offer we’re offering a 30% discount on the Softek Barcode Reader Toolkit with PDF Extension, effectively giving an upgrade to the PDf Extension for free for purchased of the standard edition. Use the coupon code PDFEXT30 at the check out or email sales@bardecode.com for further details.