-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Why do I download the .pt file to the local computer? The SSL certificate verification fails.
requests.exceptions.SSLError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /Eric-Canas/qrdet/releases/download/v2.0_release/qrdet-s.pt (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)')))
My code is as follows:
from qreader import QReader
import cv2
import os
qreader = QReader(model_path="./models/qrdet-s.pt")
image = cv2.cvtColor(cv2.imread("2_5#A190348579_crop0.jpg"), cv2.COLOR_BGR2RGB)
decoded_text = qreader.detect_and_decode(image=image)
print(decoded_text)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels