greenpass-android icon indicating copy to clipboard operation
greenpass-android copied to clipboard

QR code not extracted when it is very small

Open webworxshop opened this issue 3 years ago • 3 comments
trafficstars

Hi,

Thanks for the app, it great to have a simple offline way to do this.

I imported my NZ vaccine certificate into the app, but it doesn't recognise and extract the QR code. Could be that it is too small for the scanner?

For reference our vaccine certificates look like this:

NZ vaccine certificate

...with the PDF version I imported being formatted exactly like the center image.

Thanks again, please let me know if you need more information or if I can help in any way.

webworxshop avatar Nov 23 '21 20:11 webworxshop

Hi!

Thx for the demo image. Yes, the issue is most likely that it's too small. In the EU the code is much bigger. I'm using the popular ZXing library for detecting barcodes and I noticed issues like this with small barcodes. I'm currently looking into a way to let the user select where in the document the barcode can be found. That could potentially fix this issue. I'll let you know when I have something to try out

Michael

michaeltroger avatar Nov 23 '21 21:11 michaeltroger

Thanks, that sounds promising. I'm happy to give it a test when you have something.

Thanks also for the quick response!

webworxshop avatar Nov 23 '21 21:11 webworxshop

The approach with selecting the barcode location turned out to become too complex for this free time project. Sorry to say but I don't have a solution for this. External help is appreciated though (please align with me before investing too much time though)

michaeltroger avatar Mar 05 '22 14:03 michaeltroger

The new version 4 of the app will come with improved barcode recognition. This is as good as it will get for now. If it would still not work with this version, then I can not offer a solution.

michaeltroger avatar Apr 01 '24 21:04 michaeltroger