mchehab / zbar

ZBar is an open source software suite for reading bar codes from various sources, including webcams. As its development stopped in 2012, I took the task of keeping it updated with the V4L2 API. This is the main repository for it. There's a clone at at LinuxTV.org, and another one at gitlab.
https://linuxtv.org/downloads/zbar/
GNU Lesser General Public License v2.1
1k stars 206 forks source link

zbar cannot scan this rather obvious QR code #194

Open vi opened 3 years ago

vi commented 3 years ago

Zxing barcode scanner on smartphone scans this one well:

q

I tried manually improving the code in raster editor to make it look more like the canonical variant (that zbar handles well):

w

, but zbarimg still fails to find anything.

Version 0.23.90-1 from Debian.

vi commented 3 years ago

Downscaling the image makes zbar correctly decode the sample.

maslick commented 2 years ago

My OSS project named Koder which is based on zbar 0.23.90 (compiled into WebAssembly) is able to decode this QR. Check out the demo here: https://qr.maslick.tech