Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
Added QR_Code data flip support, flip and retry after first ECC failure#23275
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Added QR_Code data flip support, flip and retry after first ECC failure#23275
Uh oh!
There was an error while loading.Please reload this page.
Conversation
neg-c commentedFeb 23, 2023
@alalek The test data for this PR is in :opencv_extra/pull/1046. |
de7ea8d tode944b3Compareneg-c commentedFeb 27, 2023
@alalek@AleksandrPanov Is there something left to do in this PR from my side ? |
AleksandrPanov commentedMar 14, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@genciberisha I found this issue in thequirc library: Your solution to the problem is correct, thank you. Test images must be converted to jpg to take up less space. |
asmorkalov commentedMar 14, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The PR contains 2 tests that are dependent. It's not stable solution for testing. I propose to remove generator part and hardcode information as static array. There are only 2 images, not need to dump regression data to file. |
7b02524 to36bc181Compareneg-c commentedMar 15, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@AleksandrPanov Converting these images toJPG decreases the size a little but also with a lot off quality loss. @asmorkalov Agreed, I removed the generation test and replaced it with a simple validation test. |
AleksandrPanov left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
@genciberisha, thank you
I consider this solution to be optimal, because it's likequirc's solution.
Added regression test for the flipped images
36bc181 toa1b4aa5Compareneg-c commentedMar 21, 2023
@alalek Seems there isn't anything left here to do, thank you. |
opencv-alalek commentedApr 12, 2023
There isbuild error: |
asmorkalov commentedApr 12, 2023
@AleksandrPanov Could you fix it? |
Uh oh!
There was an error while loading.Please reload this page.
Merge with extra:opencv/opencv_extra#1046
Fixes#23249,fixes#23155,fixes#20724
Added quirc_flip() method to horizontally flip the data.
When the decoder fails to ECC the data we flip the image, and try one more time.
Pull Request Readiness Checklist
See details athttps://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.