Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tito/android-zbar-qrcode

Qrcode detector using zbar/kivy/pyjnius, for android.
https://github.com/tito/android-zbar-qrcode

Last synced: 12 days ago
JSON representation

Qrcode detector using zbar/kivy/pyjnius, for android.

Awesome Lists containing this project

README

        

Android/Kivy Qrcode scanner
===========================

Author: Mathieu Virbel

Featuring:

- Android camera initialization
- Show the android camera into a Android surface that act as an overlay
- New AndroidWidgetHolder that control any android view as an overlay
- New ZbarQrcodeDetector that use AndroidCamera / PreviewFrame + zbar to
detect Qrcode.

Usage
-----

def on_symbol(detector, symbols):
print 'found', len(symbols), 'symbols'
for symbol in symbols:
print '- qrcode: {}'.format(symbol.data)

# stop the detector if we found a symbol.
# don't if you want continuous detection.
detector.stop()

detector = ZbarQrcodeDetector()
detector.bind(symbols=on_symbols)

Compile
-------

Use buildozer:

buildozer android debug deploy run