version 0.22-1 says:
$ yes | dd bs=1 count=3000 | qrencode -S -v 32 -o /tmp/foo.png
3000+0 records in
3000+0 records out
3000 bytes (3.0 kB, 2.9 KiB) copied, 0.0111603 s, 269 kB/s
$ zbarimg /tmp/foo-0*
scanned 0 barcode symbols from 2 images in 0.3 seconds
WARNING: barcode data was not detected in some image(s)
Things to check:
- is the barcode type supported? Currently supported symbologies are:
. EAN/UPC (EAN-13, EAN-8, EAN-2, EAN-5, UPC-A, UPC-E, ISBN-10,
ISBN-13)
. DataBar, DataBar Expanded
. Code 128
. Code 93
. Code 39
. Codabar
. Interleaved 2 of 5
. QR code
. SQ code
- is the barcode large enough in the image?
- is the barcode mostly in focus?
- is there sufficient contrast/illumination?
- If the symbol is split in several barcodes, are they combined in one
image?
- Did you enable the barcode type?
some EAN/UPC codes are disabled by default. To enable all, use:
$ zbarimg -S*.enable <files>
Please also notice that some variants take precedence over others.
Due to that, if you want, for example, ISBN-10, you should do:
$ zbarimg -Sisbn10.enable <files>