DLR (Dynamsoft Label Recognition) C/C++ sample code for Windows and Linux.
1.0 Beta
-
Configuration for CMake:
# Find OpenCV, you may need to set OpenCV_DIR variable # to the absolute path to the directory containing OpenCVConfig.cmake file # via the command line or GUI find_package(OpenCV REQUIRED)
Get a free trial license and save it to license.txt.
https://www.dynamsoft.com/Company/Contact.aspx
-
Copy
*.libfiles toplatforms/win/libfolder and copy*.dllfiles toplatforms/win/binfolder. -
Create a build folder:
mkdir build cd build -
Configure the project.
-
Command-line app
cmake -DCMAKE_GENERATOR_PLATFORM=x64 .. -
GUI App with OpenCV
cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DENABLE_OPENCV=TRUE ..
-
-
Build and run the app:
cmake --build . --config release Release\LabelRecognition license.txt
-
Install CMake:
sudo apt-get install cmake -
Copy
*.sofiles toplatforms/linuxfolder. -
Create a build folder:
mkdir build cd build -
Configure the project.
-
Command-line app
cmake .. -
GUI App with OpenCV
cmake -DENABLE_OPENCV=TRUE ..
-
-
Build and run the app:
cmake --build . --config release Release\LabelRecognition license.txt
