Skip to content
qrcode reader - wrapper for Zebra-Crossing (zxing/cpp)
C++ Other
  1. C++ 98.4%
  2. Other 1.6%
Branch: master
Clone or download
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.
pyzxing
tests
zxing_cpp
.gitignore
README.markdown
setup.py

README.markdown

pyzxing: a qrcode reader
Author: Andrew Miller amiller@dappervision.com
License: AGPL V3

Wraps the Zebra-Crossing library (zxing/cpp). Works with numpy arrays or PIL Images.

Requirements:

  • numpy
  • PIL (optional)
  • Cython (optional)

Example 1:

url = 'http://i.imgur.com/N5ill.jpg'  # Search the web for qrcode photos
img = Image.open(StringIO.StringIO(urllib2.urlopen(url).read()))
decoded = pyzxing.decode_image(img)
print(url, decoded)

Example 2:

img = Image.open('tests/samples/qr-code.jpg')
decoded = pyzxing.decode_image(img)
print(url, decoded)  
You can’t perform that action at this time.