Hardware Platform (Jetson / GPU) Jetson Nano
• DeepStream Version 6.0
• JetPack Version (valid for Jetson only) 4.6
• TensorRT Version 8.0.1
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs) questions
I am looking for a way to set the detection threshold of the nvinfer at the code level.
The code I tried is as follows.
But this has failed.
(object class ‘GstNvInfer’ has no property named ‘threshold’)
pgie = gst_element_factory_make(“nvinfer”, “primary-nvinference-engine”);
g_object_set(G_OBJECT(pgie), “threshold”, 0.5);
Can you tell me how?