Skip to content

frank9715/barcode-reader-python-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

131 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dynamsoft Barcode Reader samples for Python edition

Current version number Supported Python versions PyPI downloads

Dynamsoft

Overview

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

Requirements

Supported Platforms

  • Windows x64
  • Linux (x64, ARM32, ARM64)
  • macOS (10.15+)

Supported Python Versions

  • Python 3.6
  • Python 3.7
  • Python 3.8
  • Python 3.9
  • Python 3.10

Installation

pip install dbr

or

pip3 install dbr

Samples

Sample Name Description
hello-world Shows the simplest way to recognize barcodes from images in Python using Dynamsoft Barcode Reader SDK.
general-settings Shows how to adjust general scan settings, e.g., barcode format, barcode count, scan region.
image-decoding Shows how to decode images in various formats, e.g., file bytes, opencv image, raw image buffer.
video-decoding Shows how to decode barcodes from a video from a file or camera.
video-decoding-for-picamera Shows how to scan barcodes from videos from a Raspberry Pi camera (PiCamera).
batch-decode Shows how to batch decode image files from a specified folder.
speed-first-settings Shows how to configure the scan settings for best barcode reading speed.
read-rate-first-settings Shows how to configure the scan settings to read as many barcodes as possible at one time. Recommended when decoding multiple barcodes from a single image.
accuracy-first-settings Shows how to configure the scan settings for best barcode reading accuracy.
read-dpm-barcode Shows how to read DPM (Direct Part Mark) barcodes.

Documentation

https://www.dynamsoft.com/barcode-reader/programming/python/?ver=latest&utm_source=samples

License

The barcode reader library requires a license to work. You can use the API init_license 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

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

About

Samples for Dynamsoft Barcode Reader SDK Python Edition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published