dlbeer / quirc

QR decoder library
Other
865 stars 285 forks source link

The QR code below can not be detected. #111

Open numberone0001 opened 2 years ago

numberone0001 commented 2 years ago

Do not know why this one can not be detected, but other software can recognize it. You can try to use online check: https://cli.im/deqr

numberone0001 commented 2 years ago

Could you help me solve this problem?

numberone0001 commented 2 years ago

I used the inspect code to check what is wrong with that QRcode, and I got the result below. But I do not what's that means. Could anyone here help me analyze this? 04000

numberone0001 commented 2 years ago

Or you can try this one. It is better than before, but still can not be detected. I also tried other algorithms, they can do it. Could you help me analyze the reason behind this? ![

numberone0001 commented 2 years ago

888

dlbeer commented 2 years ago

Quirc's detection algorithm is fairly simple. It will handle odd angles and perspective transforms better than most other libraries, but it's less good at dealing with poor image quality and distortion. If you're able to, you may get better results with a pre-binarized image, or by applying some other clean-up filters prior to running quirc over the image.

numberone0001 commented 2 years ago

Quirc's detection algorithm is fairly simple. It will handle odd angles and perspective transforms better than most other libraries, but it's less good at dealing with poor image quality and distortion. If you're able to, you may get better results with a pre-binarized image, or by applying some other clean-up filters prior to running quirc over the image.

Thanks, beer. I will try the methods you provide.