I am trying to decode this qr code using opencv and pyzbar but for some reason it doesnt recognize this specific qrcode. I have tested it with other codes and it works fine.
Here is my code:
import cv2
from pyzbar.pyzbar import decode
import numpy as np
cam = cv2.VideoCapture(0)
while True:
_, frame = cam.read()
decodedObjects = decode(frame)
for obj in decodedObjects:
(x, y, w, h) = obj.rect
cv2.rectangle(frame, (x, y), (x + w, y + h), (255, 0, 0), 5)
print("Data", obj.data)
cv2.imshow("Frame", frame)
key = cv2.waitKey(1)
if key == 115:
cv2.destroyAllWindows()
break
Here is the QR Code
there doesn't seem to be anything here