A minimal Barcode Xpress for Linux application which detects barcodes on a given bitmap image.
Compiling and running the sample will require the following dependencies:
- C++ Compiler
- CMake v2.6+
For a more detailed list, included supported operating systems and optional dependencies for Barcode Xpress, see the official Barcode Xpress For Linux Documentation
Create a build directory:
mkdir build && cd buildConfigure the project with CMake and compile:
cmake ..
makeFinally, run the sample:
./readbarcodesThis will run the sample and you should see output like this:
Result #1
Barcode Type: IntelligentMail
Value: 441231234561234567** UNLICENSED accusoft.com
Confidence: 100
Result #2
Barcode Type: Code 39
Value: CODE ** UNLICENSED accusoft.com
Confidence: 100
Result #3
Barcode Type: Code 128
Value: Code 1** UNLICENSED accusoft.com
Confidence: 100
Result #4
Barcode Type: QR Code
Value: Barcode Xpress - QR Co** UNLICENSED accusoft.com
Confidence: 100
Result #5
Barcode Type: DataMatrix
Value: Barcode Xpress - Data Matrix Writ** UNLICENSED accusoft.com
Confidence: 100
NOTE: Barcode Xpress runs in Watermark evaluation mode if started without a license and the barcode value will be partially hidden. If you would like to do a full-featured evaluation of the product, contact us.