Skip to content

tito/android-zbar-qrcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android/Kivy Qrcode scanner

Author: Mathieu Virbel mat@meltingrocks.com

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages