Skip to content

Josephood7/QR_DM_Decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

QR_DM_Decoder

This file demonstrate how to create QR code and Data Matrix decoders using Python

Setup

pyzbar is a QR code decoding package for Python
pylibdmtx is a Data Matrix decoding package for Python

Linux

pip install pyzbar
pip install pyzbar[scripts]
pip install pylibdmtx
pip install pylibdmtx[scripts]

On Windows Power Shell

py -3 -m pip install pyzbar
py -3 -m pip install pyzbar[scripts]
py -3 -m pip install pylibdmtx
py -3 -m pip install pylibdmtx[scripts]

Functions

Example functions to generate output strings
Feel free to process the image using OpenCV.
Noted that long processing technique may not benifits its overall performance.

qr_str = qr_reader(image_file_path)    # prints and return the decoded output string from QR code
dm_str = dm_reader(image_file_path)    # prints and return the decoded output string from Data Matrix

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages