The samples demonstrate how to use Dynamsoft Barcode Reader SDK to build a barcode reader application on Windows and Raspberry Pi with a USB webcam.
- Install OpenCV for Windows.
- Open the project with Visual Studio 2015.
- Add the include and lib directories of Dynamsoft Barcode Reader and OpenCV to the project properties.
- Build the project and copy the relevant *.dll libraries to the output directory
-
Contact [email protected] to get the download link.
-
Extract the package and generate a symbolic link:
sudo ln -s $(DynamsoftBarcodeReader)/lib/libDynamsoftBarcodeReader.so /usr/lib/libDynamsoftBarcodeReader.so
-
Visit license page to get a trial license.
-
Follow the article to install OpenCV.
-
Install Wiring Pi
-
Build the source code:
g++ -ggdb -I$(DynamsoftBarcodeReader)/include -o barcodereader barcodereader.cpp -lDynamsoftBarcodeReader `pkg-config --libs opencv` -lwiringPi -lpthread
https://www.youtube.com/watch?v=p1NQz6m5yBc&feature=youtu.be