willglynn / ruby-zbar

Ruby bindings for the ZBar barcode recognition library
MIT License
83 stars 24 forks source link

Can't read code with some noise. iOS app using zbar scans it fine. #14

Open jeremieweldin opened 6 years ago

jeremieweldin commented 6 years ago

I can read the QR codes from every image I have attempted to read so far except the attached one. I see it has some noise introduced by the printing/scanning process, but it should read fine. What do I need to do to get this code to read? I can't use jpeg so I am converting the image from the pdf into a pgm then decoding the pgm in zbar.

onlybad.pdf onlybad pdf page0-1516203946

willglynn commented 6 years ago

Could you attach the corresponding PGM for this PDF?

jeremieweldin commented 6 years ago

onlybad.pgm.zip

jeremieweldin commented 6 years ago

I now have many that won't read. :/

Is there any way to adjust sensitivity?