8000 Failed to verify the SSL certificate. · Issue #45 · Eric-Canas/QReader · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Failed to verify the SSL certificate. #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wscxwen opened this issue Jan 8, 2025 · 1 comment
Open

Failed to verify the SSL certificate. #45

wscxwen opened this issue Jan 8, 2025 · 1 comment

Comments

@wscxwen
Copy link
wscxwen commented Jan 8, 2025

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)

@Eric-Canas
Copy link
Owner

Hi!

Which version are you testing with? model_path is not an available parameter for QReader.

Maybe you do mean weights_folder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0