Skip to content

Dynamsoft/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 demonstrate how to use the Dynamsoft Barcode Reader Python Edition.

Requirements

Supported Platforms

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

Supported Python Versions

  • Python 3.12
  • Python 3.11
  • Python 3.10
  • Python 3.9
  • Python 3.8

Installation

pip install dynamsoft_barcode_reader_bundle

or

pip3 install dynamsoft_barcode_reader_bundle

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.

Documentation

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

License

The library requires a license to work, you use the API LicenseManager.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 via the Request a Trial License link which works offline.

Contact Us

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