-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
QRCodeDetector - QR Code detected but no decoded text #23249
Copy link
Copy link
Closed
Labels
bugcategory: objdetectconfirmedThere is stable reproducer / investigation completeThere is stable reproducer / investigation complete
Description
Expected behaviour
I tried to decode the following qrCode:

The expected output is the string : "The key is /qrcod_OMevpf" (which was confirmed by a qrcode scanner app from my phone).
Actual behaviour
The QR Code was detected but the decoded text is empty.
I opened a thread on stackoverflow and other users have confirmed having the same issue with this image.
Steps to reproduce
qrCodeDetector = cv2.QRCodeDetector()
decodedText, points, _ = qrCodeDetector.detectAndDecode(image)
if points is not None:
# QR Code detected handling code
print("QR code detected")
print(decodedText)
else:
print("QR code not detected")```
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugcategory: objdetectconfirmedThere is stable reproducer / investigation completeThere is stable reproducer / investigation complete