-
Notifications
You must be signed in to change notification settings - Fork 94
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
[Feature]: Support streaming video? #19
Comments
The project currently supports video stream inference, but a concrete implementation hasn't been provided yet. I'll address this in the future. Meanwhile, you can refer to the example provided at #15 (comment). |
it is better to use pyside6. cv2 drops 50% of fps. Also, waitkey It dependes of scheduling internally of the SO. Example: if you mantain press a key of keyboards, inference will be faster |
Thank you for your suggestions and the provided resource links. I will consider adopting PySide6 in future implementations and look into optimizing the performance of video stream inference. The resources you mentioned, such as vidgear and deepstream, seem very helpful, and I'll explore their functionalities and usage. Thanks again for your input! |
I have some implementations. But now I'm investigating to use nvenc and nvdec with Jetson AGX Orin. When the pipeline is fast, the bottleneck is the input file(video, streaming) and coding the video, so it's necessary to use hardware accelerators. People usually use Gstream because it has C++ and Python libraries with encoders for HW Accelerators. also for efficiency, you can use: DLA Hardware for run yolo https://medium.com/@DeeperAndCheaper/jetson-running-yolov8-classfication-model-in-dla-1-why-dla-6a2d2860ebdd |
Thank you for sharing the resource link. My initial plan was to utilize gstream for streaming video inference. |
你好,我想请教一下,在使用RTX系列GPU的电脑上部署yolo视频流应用的较佳实践是什么? 我之前在RK3588嵌入式设备上完成了这样一个yolov8应用:
现在想在使用RTX系列GPU的电脑上实现类似的应用,但是之前只有ultralytics框架的使用经验。 DeepStream |
Yes, deepstream is a way, but for me it is a bit tricky to use. For this you can use gstreamer with the ENC/DEC HW provided in the RTX (https://developer.nvidia.com/video-codec-sdk). |
最佳实践当然还是用Gstreamer,但是虽然Gstreamer支持在Windows使用,但插件开发对Windows系统不友好。我目前正在开发基于Gstreamer的跨平台视频推理示例。 DeepStream只支持Linux系统,不支持Windows系统。诸如零拷贝等特性需要特定的设备支持,比如Jetson。 |
了解了,非常感谢两位的回复 @johnnynunez @laugh12321 |
Exactly, here is an explanation of zero-copy. Here's why using ultralytics natively is not good for embedded systems. |
@laugh12321 did you see that? |
@johnnynunez yes, I see. That's awesome! |
No description provided.
The text was updated successfully, but these errors were encountered: