-
-
Notifications
You must be signed in to change notification settings - Fork 16.4k
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
i want detect juset 1frames in 6frames in video #8079
Comments
@LimJihu you can skip frames in the video dataloader here: Lines 216 to 228 in 7cef03d
|
@glenn-jocher any help? |
👋 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 ⭐! |
@LimJihu I understand. You can achieve this by modifying the code in detect.py to skip frames in the video. You can use the frame index to determine when to skip frames. For example, you can modify your while loop to skip frames using the frame index. Additionally, for tracking the left frames, you can use a tracker like SORT or DeepSORT. For further assistance, you can refer to the Ultralytics Docs at https://docs.ultralytics.com/yolov5/ or ask for help in the YOLOv5 Discussions. |
Search before asking
Question
hello.
i want to detect 1frames per 6frames. so, if my video have 12000frames in video, i just detect 2000frames only.
so i wrote my code like
(this is detect.py)
but the result is
i have no idea about this.. i just returned 1 framed-video ( the output video have just one frame)
can anybody help me?
Additional
No response
The text was updated successfully, but these errors were encountered: