optimizing yolo5 for detecting objects from recorded video #2645
Unanswered
AshishMahendra
asked this question in
Q&A
Replies: 2 comments 2 replies
-
@AshishMahendra tips for faster inference are always the same, no surprises:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
In case of video processing, you could skip frames if your use case allows it. You could also process the frames in a separated thread to accumulate a certain number of frames in advance so you are able to keep the gpu busy at all time and send batches of frames instead of 1 by 1. You could also split the video into parts and have multiple gpu process certain part in parallel and then bringing back the detections all together. There is many tricks you can do |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using yolo5 for object detection from recorded video, the model is taking 1/3rd time to complete the entire processing,e.g. a 24 hour video is taking 8 hour to complete the processing. How to reduce the processing time further.
Beta Was this translation helpful? Give feedback.
All reactions