-
-
Notifications
You must be signed in to change notification settings - Fork 55.6k
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
Swiss QR-bills (ISO 20022) not decoded #21929
Comments
This image is a QR Code image consisting of 49x49 cells. In the https://github.com/opencv/opencv/blob/4.5.5/modules/objdetect/src/qrcode.cpp#L2359
The 0/1 recognized logic of each cell using this parameter runs 50 * 50 = 2500 times.
The QR decoder knows that the QR Code image consists of 49x49 cells. Then, the 0/1 recognized results are adopted in the order in which they are detected. Therefore, the sampled image is skewed one cell per line.
The QR Code decode has failed because the sampled image is skewed and corrupted. This patch replaces the delta_rows skip loop with a simpler version_size loop. I'm sorry I didn't test with python, however my test with C++ works well. |
Version: 4.5.5.64 I have the same problem. Attached is a log file of a Powershell foreach run over above samples. edit: removed duplicate lines due to extracted pages from PDF |
fixed by #22025
|
Many thanks for your great effort :-) |
System information (version)
Detailed description
The Swiss QR-bills are detected but not decoded.
See also: https://scanbot.io/en/sdk/scanner-sdk/barcode-scanner-sdk/swiss-qr
Steps to reproduce
With image:![155567196-54dbec58-7fa4-473a-a551-b52ecd04e11e](https://user-images.githubusercontent.com/353872/165976543-3c9b0ae8-5958-4756-b8c6-25485834da87.png)
=>
Issue submission checklist
forum.opencv.org, Stack Overflow, etc and have not found any solution
The text was updated successfully, but these errors were encountered: