Samples and Demos - Python Edition
Samples
Basic Barcode Reader Samples
| Sample Name | Description |
|---|---|
| ReadAnImage | Shows the simplest way to read barcodes from an image file and output barcode format and text. |
| ReadMultipleImages | Shows the simplest way to read barcodes from directory with image files and output barcode format and text. |
| GeneralSettings | Shows how to adjust general scan settings, e.g., barcode format, barcode count, scan region. |
| ReadDPMBarcode | Shows how to read DPM (Direct Part Mark) barcodes. |
| VideoDecoding | Shows how to decode barcodes from live video or video file. |
| MultiFormatImageProcessing | Shows how to decode barcodes from various image format. |
| 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. |
| ServerSideBarcodeDecoder | This sample demonstrates how to decode barcodes on the server side by sending images from a client application. |
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.
These samples use the
dynamsoft-capture-vision-bundlepackage instead ofdynamsoft-barcode-reader-bundle. If you’re switching to these samples, make sure to install and use the correct package.
| Sample Name | Description |
|---|---|
| DriverLicenseScanner | Shows how to capture and extract user’s information from driver license/ID. |
| VINScanner | Shows how to capture and extract vehicle’s information from Vehicle Identification Number (VIN). |
| GS1AIScanner | Shows how to extract and interpret GS1 Application Identifiers (AIs) from GS1 barcodes. |
Official Online Demo
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.