khanamiryan / php-qrcode-detector-decoder

This is a PHP library to detect and decode QR-codes. This is first and only QR code reader that works without extensions.
Apache License 2.0
1.38k stars 324 forks source link

Upside down scanning gives result, normal orientation does not? #150

Closed tikumo closed 3 months ago

tikumo commented 3 months ago

I have tested the library with a few documents, upside down it detects the QR code.

But I've tested it today with the correct orientation but it won't recognize it. Any tips / settings?

Also tried a "skewed" document and that went fine, but it was also upside down (and 20 degrees off)

tikumo commented 3 months ago

Increased the scan resolution and made it black and white and now it scans all orientations. Very weird, both scans on 300 dpi have a bit of glitching artifacts. On greyscale they also have artifacts but it works better and scans both "types".