How optimize the custom logic in Deepstream python SDK

• Hardware Platform (Jetson / GPU) : Jetson Nano
• DeepStream Version: 5.1
• JetPack Version (valid for Jetson only) : 4.5.1
• TensorRT Version :

Hello there,

I am using now I want to add some custom logic in this script.

I have already tried it but as soon as I add something fps drops drastically.
I am trying to change tiler_sink_pad_buffer_probe, changing anything in this function it increases the processing time and fps drops.

Is there any optimized way or method to do it?

Naresh Mungpara


Could you share the custom logic with us to check?
Since it is a multistream pipeline, please make sure your logic can support number_sources concurrently.



While I was going through the code I have worked on num_source. Currently I am working object tracking and for that I have Implemented tracker part in the code for different num_source. Right now it’s working fine. But as it in tiler_sink_pad_buffer_probe function. And that’s why I need more optimized way to intergrate it.

Thank you,
Naresh Mungapara