kciter / qart.js

Generate artistic QR code. 🎨
https://kciter.github.io/qart.js/
GNU General Public License v3.0
3.17k stars 174 forks source link

QR Codes take a very long time to be recognized #1

Closed ccoenen closed 7 years ago

ccoenen commented 7 years ago

I am trying to scan codes with "Barcode Scanner" (Play Store / F-Droid) on an android device. I can't scan the provided QR-Code. Might either be the example, or the processing in general.

ccoenen commented 7 years ago

Turns out it can be scanned, but it takes a lot longer to get the app to scan the code. Usually the recognition is instantly. With this code, I need to get wait a 3-10 seconds before it really locks on.

Is there a way to dial back the effect? I.e. make the smaller boxes "not as small"?

kciter commented 7 years ago

I will try to find a solution asap.

kciter commented 7 years ago

I think it is because of the threshold filter. I will fix it.

rohmanhm commented 7 years ago

I've found the same problem with MIUI 8 Scanner.

kciter commented 7 years ago

I found a solution. The QR code corner rectangle was not correctly recognized when using a dark photo. So I put a white border around the rectangle for recognition. Please check from demo page. 😄

rohmanhm commented 7 years ago

Using an image with color is better than the Threshold image.

nekromoff commented 7 years ago

Works OK now with Barcode Scanner app on Android both for color and b/w version

imlinus commented 7 years ago

Really nice job! Much appreciated :)

ccoenen commented 7 years ago

It appears to work better now. I'm marking this as closed.