Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

107 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamsoft Barcode Reader Samples - C++ Edition

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

System Requirements

Supported Platforms

Windows

  • Supported Versions: Windows 8 and higher, or Windows Server 2012 and higher
  • Architectures: x64, x86

Linux

  • x64
    • Supported Distributions: Ubuntu 16.04+ LTS, Debian 8+, CentOS 7+
    • Dependencies: glibc 2.17
  • ARM64
    • Supported Distributions: Ubuntu 18.04+ LTS, Debian 10+, CentOS/RHEL 8+
    • Dependencies: glibc 2.27

macOS (contact us to get the SDK)

  • Supported Versions: macOS 12 (Monterey) and higher
  • Architectures: universal (x64, Apple Silicon)

Development Environment

  • Visual Studio 2015 or higher
  • GCC 6.3.0+ / G++ 6.3.0+

Samples

Basic Barcode Reader Samples

Sample Description
ReadAnImage This sample demonstrates the simplest way to read barcodes from an image file and output barcode format and text.
ReadMultipleImages This sample demonstrates the simplest way to read barcodes from directory with image files and output barcode format and text.
BarcodePerformanceEvaluator This sample demonstrates how to read barcodes from files in the specified directory and return results plus performance metrics.
GeneralSettings This sample demonstrates how to configure general used settings and read barcodes from an image file.
GridBarcodeScanner This sample demonstrates a multi-phase pipeline for decoding a large barcode grid from a single image, maximizing the decode rate with low latency.
MultiThreadDecoding This sample demonstrates how to read barcodes and get barcode results in self-managed thread.
ParameterTuner This sample demonstrates how to adjust and test different parameter settings to optimize barcode recognition performance.
ReadDPMBarcode This sample demonstrates how to read DPM (Direct Part Marking) barcodes and get barcode results.
ShowLocalizedVSDecodedBarcodes This sample demonstrates how to highlight successfully decoded and only-localized barcodes with different styles of rectangles.
VideoDecoding This sample demonstrates how to read barcodes from video frames.

Additional Samples using Capture Vision SDK

In addition to the classic barcode decoding samples listed above, the following samples go a step further by parsing the decoded results and showcasing more structured workflows.

Important

These samples use the dynamsoft-capture-vision package instead of dynamsoft-barcode-reader. If you're switching to these samples, make sure to download and use the correct package.

Sample Description
DriverLicenseScanner Shows how to capture and extract user's information from driver license/ID.
GS1AIScanner Shows how to extract and interpret GS1 Application Identifiers (AIs) from GS1 barcodes.

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.

Contact Us

Contact Dynamsoft if you have any questions.

Releases

Used by

Contributors

Languages