-
-
Notifications
You must be signed in to change notification settings - Fork 15.9k
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
Error when running detect.py cv2.error: OpenCV(4.5.5) #8176
Comments
* Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update
pip uninstall opencv-python-headless -y pip install opencv-python --upgrade worked for me btw |
@edehino thanks for the tip! I'll try this in the docker image to see if it can resolve the cv2 4.6 errors I've been seeing |
@edehino doesn't affect Docker image as if I try to uninstall I get:
|
same problem |
Hello! It looks like you're experiencing a similar issue. Could you please try the solution provided by @Manpreeth3126? pip uninstall opencv-python-headless -y
pip install opencv-python --upgrade This has helped others with the same problem. If the issue persists after trying this, please let us know. 😊 |
Search before asking
YOLOv5 Component
Detection
Bug
Environment
-Python: 3.9
Minimal Reproducible Example
Just clone the new repository or use git pull and try to detect any image/video. Tried both but I am getting the same error
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: