Update pre-cluster-threshold/eps from gstreamer


I’m using NVIDIA deepstream 5.0 - I would like to update pre-cluster-threshold/eps from gstreamer, but it seems like this is not possible - is the only way to update these values to update the config file (ie, dstest1_pgie_config.txt)?

gst-inspect-1.0 nvinfer seems to indicate this is the case, however the example config files say that we can update the values through G_OBJECTS.


Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• 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)

*Jetson Nano 4GB
*Deepstream SDK: 5.0
*Jetpack: 4.41
*Issue Type: questions

“pre-cluster-threshold” and “eps” are gst-nvinfer configuration parameters, they should be configured by gst-nvinfer config file.

Hi Fiona,

Thank you for the response - so just to confirm - there is no way to programmatically update these values from within gstreamer and they can only be updated through the config files, correct?


gst-nvinfer is open source, if you need, please implement by yourself.

With current implementation, there is no way. But you can implement by yourself. gst-nvinfer is open source.