Skip to content

FrancisJC/barcode-reader-python-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

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

  • Python3.6
  • Python3.7
  • Python3.8
  • Python3.9
  • Python3.10

Installation

pip install dbr or pip3 install dbr

Samples

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.

Documentation

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

License

The library requires a license to work, you use the API init_license to initialize license key and activate the SDK.

These samples use a free public trial license. Note that network connection is required for this license to work.

You can also request a 30-day trial license from Customer Portal

For more information, please refer to https://www.dynamsoft.com/license-server/docs/about/licensefaq.html.

Contact Us

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

About

Samples for Dynamsoft Barcode Reader SDK Python Edition

Resources

License

Stars

Watchers

Forks

Packages

No packages published