Assign a each input source to a given probe in a multi-source pipeline

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson xavier
• DeepStream Version 6.2
• JetPack Version (valid for Jetson only) 5.1-b147
• TensorRT Version 8.5
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I have a multi-source pipeline and I want to assign each source a different probe . For instance stream-1 to be assigned people counting probe and stream-2 to be assigned car detection probe.

I know i get can the source_id in probe function and make sure that each probe only consider a specific source_id . But I wanna know is there any other way to do that ?

Could you attach your whole pipeline and the place where you want to add the probe function?

What I am trying to do is i have a model that can detect both car and person . For each input source the user can define what kind of application he wants run. For example for source-1 he can run people detection and source_2 car detection , he can also decide to run all the applications in one input source. I have two different probe for each of them because the logic of the two application are different .
I have implemented two probes for each application at the tiler and use the frame.source_id at the probe to ignore the frame from source that are not supposed to run a specific application . I don’t think this is the best way to implement this kind scenarios .
I dont think also having a parallel pipeline is optimal because I have only one model .
Here is my pipeline :

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

There is no better way for your scenarios. If the detection object type is the same one time, source-1 and source-2 run the same detection, it can also be controlled through the following parameters operate-on-class-ids. But in your scenarios, the detection objects of two sources may be different, You can only filter that in the probe function yourself.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.