Skip to content

detectAndDecode() in WeChatQRCode not detected QR codes on large images (4032x3024) #3282

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

Closed
4 tasks done
AleksandrPanov opened this issue Jun 15, 2022 · 0 comments · Fixed by #3287 or opencv/opencv_extra#984
Closed
4 tasks done

Comments

@AleksandrPanov
Copy link
Contributor

detectAndDecode in WeChatQRCode not detected QR codes on large images (4032x3024)

  • OpenCV => 4.6.0 Python
  • Operating System / Platform => Win10/Ubuntu ubuntu 20.04
Detailed description

script:

import cv2 as cv
import numpy as np

print(cv.__version__)
detector = cv.wechat_qrcode_WeChatQRCode("detect.prototxt", "detect.caffemodel", "sr.prototxt", "sr.caffemodel")
image = cv.imread("image001.jpg", cv.IMREAD_IGNORE_ORIENTATION)
res1, res2 = detector.detectAndDecode(image)
print(res1, res2)

result:

4.6.0
() ()

image001.jpg:

image001

image from https://boofcv.org/notwiki/regression/fiducial/qrcodes_v3.zip

Issue submission checklist
  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues,
  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant