Can I use multi primary-gie in deepstream-app?

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)**GPU
• DeepStream Version6.0
• TensorRT Version8.0.2
**• NVIDIA GPU Driver Version (valid for GPU only)**495

I know this following method, but if I wanna add deepstream-app, how to write?

Because I need three pgie and 1 sgie, however if I change this, I will change all sgie to primary-gie.
I don’t want to see that.

deepstream-app is open source. Please read and understand the code. It just needs some basic coding skills.


Yes, I know that. My mean, where should I adjust code?

g_object_set (G_OBJECT (secondary_detector), “config-file-path”, “secondary_detector_config.txt”,

Because like “back_to_back_detectors.c”, I can add that to main{}.

However, this deepstream-app.c, I should add where?
Or, if I wanna custom two pgie, maybe I should use custom c file, like back_to_back_detectors.c?

deepstream-app is a configurable pipeline builder. So you need to obey the design of deepstream-app. To modify the configuration part first(currently only one PGIE is supported), and then call create_primary_gie_bin() in deepstream_app.c with proper configuration.

This is a new feature. It is not where to add your second PGIE but you need to change some design. So you must understand the design first, then you can find the proper places.

Please investigate the code, the code introduces the design itself.

It will not save your time and effort if you don’t want to understand the code.

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