Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/tito/android-zbar-qrcode
- Owner: tito
- License: mit
- Created: 2013-09-11T15:16:36.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-11T15:16:48.000Z (about 11 years ago)
- Last Synced: 2024-10-27T07:35:12.826Z (24 days ago)
- Language: Python
- Size: 785 KB
- Stars: 79
- Watchers: 14
- Forks: 29
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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