SkillAgentSearch skills...

Pyzxing

qrcode reader - wrapper for Zebra-Crossing (zxing/cpp)

Install / Use

/learn @amiller/Pyzxing
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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)  
View on GitHub
GitHub Stars5
CategoryDevelopment
Updated1y ago
Forks2

Languages

C++

Security Score

55/100

Audited on Nov 19, 2024

No findings