What should I do to make getting objects from video (YouTube) faster? #1425
Replies: 1 comment
-
@KatarinaPopikova hello! To speed up object detection in videos from YouTube using YOLOv8, consider the following suggestions:
Remember that each video and use case may require a different combination of these optimizations for the best results. 🚀 |
Beta Was this translation helpful? Give feedback.
-
Hello!
All I need is to get the objects that appeared in the video (YouTube).
So I tried set attribute vid_stride to 50 and imgsz=320, but it takes almost the same time. I also tried device="cpu" and I got the same result in computing time.
I tried this:
model.predict(source=SOURCE, device="cpu", verbose=False)
model.predict(source=SOURCE, device=0, vid_stride=50, verbose=False, imgsz=320)
What should I do to make getting objects from video faster?
Beta Was this translation helpful? Give feedback.
All reactions