Skip to content

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

Closed
opencv/opencv_extra
#984
@AleksandrPanov

Description

@AleksandrPanov

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions