Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md Update README.md Jan 25, 2019
barcode-reader.py
image.tif Qt for Python Jan 24, 2019

README.md

The sample demonstrates how to create a Python barcode app with Qt.

Python

v3.7

Installation

Qt for Python:

pip install pyside2

Download the source code of Python barcode extension. Build and install it:

python setup.py build install

License

Get a 30-day trial license for free.

Usage

Edit barcode-reader.py to update the license:

dbr.initLicense("Your License")

Set the default path for opening image files:

QFileDialog.getOpenFileName(self, 'Open file',
                                               'E:\\Program Files (x86)\\Dynamsoft\\Barcode Reader 6.4.1\\Images', "Barcode images (*)")

Run the app:

python barcode-reader.py

Blog

How to Build Python Barcode Apps with Qt on Windows