Skip to content

Dynamsoft/barcode-reader-java-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamsoft Barcode Reader samples for the Java edition

This repository contains multiple samples that demonstrates how to use the Dynamsoft Barcode Reader Java Edition.

Requirements

  • Operating systems:
    • Windows 7, 8, 10, 11
    • Windows Server 2003, 2008, 2008 R2, 2012, 2016, 2019, 2022
    • Linux x64 (Ubuntu 14.04.4+ LTS, Debian 8+, etc.)
    • Linux arm 64bit
    • macOS x64 10.12+
  • JDK 1.7 and above
  • Environment: Eclipse 3.7 and above

Samples

Sample Name Description
HelloWorld This is a Java sample that illustrates the simplest way to recognize barcodes from images with Dynamsoft Barcode Reader SDK.
GeneralSettings` This is a Java sample that illustrates how to make general settings (including barcode format/barcode count/scan region) when using Dynamsoft Barcode Reader.
ImageDecoding This is a Java sample that illustrates how to decode images in various format (including Base64/BufferedImage/file bytes/image buffer) when using Dynamsoft Barcode Reader.
SpeedFirstSettings This is a Java sample that shows how to configure Dynamsoft Barcode Reader to read barcodes as fast as possible. The downside is that read-rate and accuracy might be affected.
ReadRateFirstSettings This is a Java sample that shows how to configure Dynamsoft Barcode Reader to read as many barcodes as possible at one time. The downside is that speed and accuracy might be affected. It is recommended to apply these configurations when decoding multiple barcodes from a single image.
AccuracyFirstSettings` This is a Java sample that shows how to configure Dynamsoft Barcode Reader to read barcodes as accurately as possible. The downside is that speed and read-rate might be affected. It is recommended to apply these configurations when misreading is unbearable.
DecodeWithConcurrentInstance` This sample demonstrates how to decode barcodes in concurrent instance mode.

License

The library requires a license to work, you use the API initLicense to initialize license key and activate the SDK.

These samples use a free public trial license which require network connection to function. You can request a 30-day free trial license key from Customer Portal which works offline.

To run sample DecodeWithConcurrentInstance, please contact us at https://www.dynamsoft.com/company/contact/ to get a concurrent instance license first.

For more information, please refer to https://www.dynamsoft.com/license-server/docs/about/licensefaq.html.

Contact Us

https://www.dynamsoft.com/company/contact/