Description
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:
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