Process multiple cameras/RTSP With Deepstream
AnsweredHi,
How to batch the frame from multiple cameras and send it to Nvidia Deepstream for analytics. I have successfully integrated NX witness with Nvidia Deepstream but it creates separate instance for each pipeline. How can I do batch inference on multiple streams with single Deepstream plugin?
-
Hello Gourav,
There are three major helper classes a plugin comprises:
- Plugin
- Engine
- DeviceAgent
Plugin and Engine instances are created once per loaded binary.
DeviceAgent class instance is created one per camera.
You could implement a code utilizing Deepstream in the Engine class not in the DeviceAgent.
You could implement a code for passing frames (in fact pointers to frames) from DeviceAgent class to Engine class.
Once DeviceAgent instance is created it could pass frames to Engine instance, which in turn would batch frames from several DeviceAgent instances and pass them to Deepstream for processing.1
Please sign in to leave a comment.
Comments
1 comment