The repository contains three samples (command line, GUI, and web), showing how to implement Java barcode and QR code reader using ZXing and Dynamsoft Barcode Reader.
Configure pom.xml
file in Maven project:
<repositories>
<repository>
<id>dbr</id>
<url>https://download2.dynamsoft.com/maven/dbr/jar</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.dynamsoft</groupId>
<artifactId>dbr</artifactId>
<version>9.0.0</version>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>3.4.0</version>
</dependency>
Get a valid license key of Dynamsoft Barcode Reader and update the following Java code:
BarcodeReader.initLicense("LICENSE-KEY");
BarcodeReader br = new BarcodeReader();
How to Integrate Java Barcode SDK to Command-Line, GUI and Web Apps