Looking at the source of qrtools, I see no way to get this type, but there is a zbar python lib based on the scan_image example , the code seems to do what you want:
import zbar import Image scanner = zbar.ImageScanner() scanner.parse_config('enable') img = Image.open("br.png").convert('L') width, height = img.size stream = zbar.Image(width, height, 'Y800', img.tostring()) scanner.scan(stream) for symbol in stream: print 'decoded', symbol.type, 'symbol', '"%s"' % symbol.data
Using a random barcode that I grabbed from net :
decoded UPCA symbol "123456789012"
Using this qr code :
decoded QRCODE symbol "http://www.reichmann-racing.de"
source share