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

Fails to detect EAN-13 code in certain images (but works when i isolate portions of it) #297

Open DrSAS opened 2 months ago

DrSAS commented 2 months ago

Hi,

I've encountered an issue with zbarimg where it fails to detect an EAN-13 barcode in certain images. Specifically, when scanning an image containing three codes, zbarimg successfully detects two of them but misses the EAN-13 code that I need.

Interestingly, if I crop the image to include only the EAN-13 code without making any other modifications, zbarimg is able to detect it successfully.

I'm in the version 0.23.90 (tested on Debian)

121-raw

EDIT : This is the « 1 A 2 » portion the problem here. If i crop that, zbarimg will work. Maybe there is some configuration i can adjust to use?