Skip to content

detectMulti() x86-64 and detectMulti() ARM64 work differently in QRCodeDetector in some cases (problem with resize) #22133

@AleksandrPanov

Description

@AleksandrPanov

QRCodeDetector.detectMulti() x86-64 and QRCodeDetector.detectMulti() ARM64 work differently in some cases

  • OpenCV => 4.6.0 Python
  • Operating System / Platform => x86/64 ubuntu 20.04 and jetson nano ARM64
Detailed description

script:

import cv2 as cv
def main():
    print(cv.__version__)
    image = cv.imread("image056.jpg", cv.IMREAD_IGNORE_ORIENTATION)
    detector = cv.QRCodeDetector()
    res = detector.detectAndDecodeMulti(image)
    print(res)

result x86/x64:

4.6.0
(False, (), None, ())

ARM64 detect and decode successfully:

corners: 7.21591736e+02, 2.26398071e+02, 1446., 592., 9.76341980e+02, 1.28422656e+03, 178., 807.
decoded_info: "http://www.bestekmall.com/"

image056.jpg:

image056

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

also some differently values in "detection/nominal/image001.jpg", "detection/nominal/image047.jpg", ...

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

Relationships

None yet

Development

No branches or pull requests

Issue actions