You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on challenging, distorted QR code detect and decode. In this particular example attached below, it seems that QReader is able to detect but not decode the QR code, which is not really surprising since the QR code quality is low and distorted.
However, it seems that both iphone and android camera is able to detect and decode this example, if I display it on a computer monitor. Wondering if there are additional preprocessing you have in mind that may help in this case?
Below is the sample code i used:
from qreader import QReader
import cv2
file_path = 'qrcode_test.png'
# Create a QReader instance
qreader = QReader()
# Get the image that contains the QR code
image = cv2.cvtColor(cv2.imread(file_path), cv2.COLOR_BGR2RGB)
# Use the detect_and_decode function to get the decoded QR data
decoded_text = qreader.detect_and_decode(image=image)
print(decoded_text)
The text was updated successfully, but these errors were encountered:
Hello,
I am working on challenging, distorted QR code detect and decode. In this particular example attached below, it seems that QReader is able to detect but not decode the QR code, which is not really surprising since the QR code quality is low and distorted.
However, it seems that both iphone and android camera is able to detect and decode this example, if I display it on a computer monitor. Wondering if there are additional preprocessing you have in mind that may help in this case?
Below is the sample code i used:
The text was updated successfully, but these errors were encountered: