-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
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
Does not display webcam and youtube result #10596
Comments
@krolaper I'm not sure what's happening here but because it's not reproducible for me I'd suggest to you check your webcam-opencv setup. Try to display the webcam feed in an opencv window to confirm. |
@AyushExel So the same thing happens with YouTube. Сamera monitor correct. Until now, everything worked. |
why it can hang at the stage general.py:
namely: |
@AyushExel what version of opencv and numpy and torch do you have installed? Looks like it’s all in new versions. |
Hi @krolaper the opencv and torch version should satisfy the requirements.txt |
@AyushExel they are satisfying, there are the most recent versions, but somehow on them and this problem occurs. Tell me on which versions you checked that everything works? |
@krolaper I'm not sure as I'm on phone right now. I'll check and let you know tonight when I'm back on my system |
@AyushExel Ok |
@krolaper |
@AyushExel After testing different versions, I realized it wasn’t these libraries.
and specifically in This is my list of libraries, maybe a conflict somewhere?
continue the long test. prescription. |
👋 Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs. Access additional YOLOv5 🚀 resources:
Access additional Ultralytics ⚡ resources:
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed! Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐! |
Search before asking
YOLOv5 Component
Detection
Bug
I’m trying to:
detect.py --source 0
Hangs in the stage:
With video files and image - normal, but with webcam and link - no.
I went further down the playback path. Go to detect ->
then I will move on to general ->
and on this line of code I have a hang and then the solution does not move.
Numpy ver: 1.23.4, opencv-python ver: last
Environment
YOLOv5 🚀 2022-12-26 Python-3.10.6 torch-1.12.1+cu102 CUDA:0 (NVIDIA GeForce MX130, 2004MiB)
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: