-
-
Notifications
You must be signed in to change notification settings - Fork 15.7k
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
How to close window in yolov5 detection #12955
Comments
Hello there! 👋 For window closing issues after running Please check if you're using a command like Here is a quick example snippet that might be in your while True:
# Your code to display the frame
cv2.imshow('frame', frame)
# Break the loop and close the window when 'q' is pressed
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cv2.destroyAllWindows() As OpenCV's Let me know if you have more questions or need further assistance. Happy coding! 😄 |
👋 Hello there! We wanted to give you a friendly reminder that this issue has not had any recent activity and may be closed soon, but don't worry - you can always reopen it if needed. If you still have any questions or concerns, please feel free to let us know how we can help. For additional resources and information, please see the links below:
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 YOLO 🚀 and Vision AI ⭐ |
Search before asking
Question
In running the detect.py in yolov5, when X button is clicked in the top right corner the window doesn't close. How to close the window without using the keyboard keys
Additional
No response
The text was updated successfully, but these errors were encountered: