Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skewed (trapezoid) photo of QR code w/ surroundings not recognized and decoded #10

Open
JayBrown opened this issue Aug 30, 2022 · 1 comment

Comments

@JayBrown
Copy link

JayBrown commented Aug 30, 2022

I did a test with a skewed image (trapezoid), a QR code on a computer screen shot with a phone: qrscan will not recognize the QR code, probably because of the surroundings, because when I crop the image to remove those, the QR code is recognized & decoded fine.

Lower part of the original image:

img0

Commands:

img1

As you can see, cropping does the trick with qrscan… and zbarimg doesn't work in either case.

PS: lower part of the image after cropping, but still skewed:

img2

@sayanarijit
Copy link
Owner

Thanks for reporting. I'm afraid this might be the best qrscan's core scanning library, rqrr can do, unless there's some optimization option I'm missing. Or we can explore better alternatives. I'm currently off on side projects, so I'll leave this issue open until I'm back, or someone else finds a good solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants