This repository contains multiple samples that demonstrates how to use the Dynamsoft Barcode Reader Python Edition.
- Windows x64
- Linux(x64, ARM32, ARM64)
- macOS(10.15+)
- Python3.6
- Python3.7
- Python3.8
- Python3.9
pip install dbr or pip3 install dbr
Sample Name | Description |
---|---|
hello-world |
This is a python sample that illustrates the simplest way to recognize barcodes from images with Dynamsoft Barcode Reader SDK. |
general-settings |
This is a python sample that illustrates how to make general settings (including barcode format/barcode count/scan region) when using Dynamsoft Barcode Reader. |
image-decoding |
This is a python sample that illustrates how to decode images in various format (including file bytes/opencv image/image raw buffer) when using Dynamsoft Barcode Reader. |
video-decoding |
This is a python sample that illustrates how to decode video from a file or camera when using Dynamsoft Barcode Reader. |
video-decoding-for-picamera |
This is a python sample that illustrates how to decode videos from PiCamera in the Raspberry Pi when using Dynamsoft Barcode Reader. |
batch-decode |
This is a python sample that shows how to decode image files in a specified folder. |
speed-first-settings |
This is a python 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. |
read-rate-first-settings |
This is a python 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. |
accuracy-first-settings |
This is a python 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. |
read-dpm-barcode |
This is a python sample that shows how to configure Dynamsoft Barcode Reader to read DPM barcodes. |
https://www.dynamsoft.com/barcode-reader/programming/python/?ver=latest&utm_source=samples
- If you want to use an offline license, please contact Dynamsoft Support
- You can also request a 30-day trial license in the customer portal