zbar icon indicating copy to clipboard operation
zbar copied to clipboard

QR code not detected (because of lack of contrast?)

Open misaki-web opened this issue 2 years ago • 1 comments

Here's a QR code not detected by zbarimg:

QR code not detected

I've tested a few online readers and they correctly decode the image (note: I don't endorse any of these web sites, I've just tried a few ones randomly):

  • https://products.aspose.app/barcode/recognize/qr
  • https://online-barcode-reader.inliteresearch.com
  • https://www.imgonline.com.ua/eng/scan-qr-bar-code.php

It seems that zbarimg doesn't detect the image because of the contrast. After manually increasing a little bit the contrast (nothing else was edited), zbarimg correctly decodes the image:

QR code detected after increasing contrast

I'm reporting the issue since it was detected by other readers I've tested without editing the image.

misaki-web avatar Aug 01 '21 10:08 misaki-web

Hi @misa-ki! I was able to decode this big QR code (both images you provided) with my OSS project named Koder. It is based on zbar 0.23.90 (compiled into WebAssembly). Check out the demo here: https://qr.maslick.tech

maslick avatar Jan 30 '22 11:01 maslick