| layout | default-layout |
|---|---|
| title | Samples - Dynamsoft Barcode Reader SDK C++ Edition |
| description | A list of C++ code samples for Dynamsoft Barcode Reader, including hello-world, multi-thread decoding, video decoding, DPM barcode reading, and parameter tuning demos. |
| keywords | c++ |
| needAutoGenerateSidebar | false |
| Sample Name | 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. |
| MultiThreadDecoding | This sample demonstrates how to read barcodes and get barcode results in self-managed thread. |
| VideoDecoding | This sample demonstrates how to read barcodes from video frames. |
| 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. |
| ReadDPMBarcode | This sample demonstrates how to read DPM (Direct Part Marking) barcodes and get barcode results. |
| ParameterTuner | This sample demonstrates how to adjust and test different parameter settings to optimize barcode recognition performance. |
| ShowLocalizedVSDecodedBarcodes | This sample demonstrates how to highlight successfully decoded and only-localized barcodes with different styles of rectangles. |
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 Name | 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. |
This Online Demo is an online barcode scanner for all barcode types. All supported parameters are opened for customization to see how Dynamsoft Barcode Reader works in different usage scenarios.