Skip to content

dynamsoft-dbr/java-barcode-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Making Java Barcode Reader with Dynamsoft Barcode SDK

The sample shows how to call native C/C++ methods of Dynamsoft Barcode Reader (DBR) SDK via JNI to create a Java Barcode Reader on Windows.

Download & Installation

How to Run

  1. configure directories of DBR header files and libraries in Visual Studio. image image
  2. build the JNI project.
  3. copy generated DLL and DBR DLL to Java Barcode Reader Project. image
  4. import the Java project into Eclipse.
  5. specify an image file path as argument, and then run the Java project. image image

How to Build and Run ZBar JNI Project

  1. Download and install ImageMagick-6.9.2-0-Q16-x86-dll.exe: http://www.imagemagick.org/download/binaries/ImageMagick-6.9.2-0-Q16-x86-dll.exe
  2. Download and install ZBar 0.1: http://sourceforge.net/projects/zbar/files/zbar/0.10/
  3. Import the JNI project to Visual Studio and add relevant include directories and library directories.
  4. Build the project with win32.
  5. Copy the generated zbarjni.dll to Java project.
  6. Run Benchmark.java to read barcodes with ZBar.

Blog

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published