markusfisch / BinaryEye

Yet another barcode scanner for Android
https://play.google.com/store/apps/details?id=de.markusfisch.android.binaryeye
MIT License
1.42k stars 117 forks source link

Missed easy QR-code #352

Open jidanni opened 1 year ago

jidanni commented 1 year ago

20230205_193430.jpg

Okay maybe it was a little stained.

I started with this image, and cropped it etc. trying to feed it to the app: 20230205_193640.jpg

(It was a much larger version than the one I've uploaded here.)

markusfisch commented 1 year ago

Well, I think the problem here is the curved surface the QR Code is on. This makes the barcode much harder to read 😬

Of course, I know this happens quite often in the real world. But dealing with curved surfaces is not trivial, unfortunately.

jidanni commented 1 year ago

Maybe: internally if no barcode is found, try uncurving it, in all four directions (two at a time, circus mirror bending in or whatever), just like surely inverted and even mirrored bar codes I bet you guys already check for.

It seems uncurving would be like some kind of reverse Mercator projection. Hmmm... https://mapwarper.net/ slightly related.