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

Detecting QRs with rounded postion patterns #116

Open
camposm opened this issue Sep 16, 2021 · 2 comments
Open

Detecting QRs with rounded postion patterns #116

camposm opened this issue Sep 16, 2021 · 2 comments

Comments

@camposm
Copy link

camposm commented Sep 16, 2021

Hi!
I'm trying to decode QRs generated by Android to share wifi credentials but the rounded corners in the position patterns prevent it. It seems that quirc misdetec grid size, causing the wrong points to be sampled.

If I manually correct the markers, detection works as expected:

Any suggestions on how to tackle this?
Thanks!

@dlbeer
Copy link
Owner

dlbeer commented Sep 20, 2021

Apart from generating the QR codes with square cells, the only thing I could suggest might be to try a different library for this use. Quirc is better at dealing with odd angles and perspectives than most other libraries, but on the other hand it's less tolerant of deviations from the specification.

Having said that, if anyone has any modifications to the identification algorithm that don't hinder its ability to recognize square codes in other scenarios, I'd be happy to accept them.

@camposm
Copy link
Author

camposm commented Sep 21, 2021

I tried using zxing and it works but this one is not really suitable for small embedded devices..
Thank you for the help!

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