opencv_contrib icon indicating copy to clipboard operation
opencv_contrib copied to clipboard

QR code recognition module has bugs

Open zsffuture opened this issue 2 years ago • 2 comments

System Information

OpenCV version: 4.7.0 Operating System / Platform: win11 Compiler & compiler version: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe

Detailed description

ok,Above is the compilation environment and runtime environment,When using QR code recognition, no error is reported under release, but under debug, the error reported is array out of bounds, below I attach the code and run the results through the image 1688348623670 1688349417375 When scale=2, an error is reported, from the above figure you can find that the index has a value, but the data is empty, the reason is unknown

Steps to reproduce

ok,Above is the compilation environment and runtime environment,When using QR code recognition, no error is reported under release, but under debug, the error reported is array out of bounds, below I attach the code and run the results through the image 1688348623670 1688349417375 When scale=2, an error is reported, from the above figure you can find that the index has a value, but the data is empty, the reason is unknown

Issue submission checklist

  • [X] I report the issue, it's not a question
  • [ ] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • [ ] I updated to the latest OpenCV version and the issue is still there
  • [ ] There is reproducer code and related data files (videos, images, onnx, etc)

zsffuture avatar Jul 03 '23 02:07 zsffuture

@zsffuture Could you attach your test image and reproducer code or sample name you use with its parameters.

asmorkalov avatar Jul 03 '23 08:07 asmorkalov

@zsffuture I transfered the issue to OpenCV_contrib. The module is stored there.

asmorkalov avatar Jul 03 '23 08:07 asmorkalov