Add motion detection element before nvinfer in deepsream to skip the process of streams

• Hardware Platform (Jetson / GPU):jetson
• DeepStream Version:5.0 ga
• JetPack Version (valid for Jetson only):4.4
• TensorRT Version:7.1.0

I write a custom gstreamer plugin and added to deepstream pipeline, my custom plugin is motion detection, and compute the motion of scene and send 0,1 signal or put 0,1 as its metadata and send to nvinfer to skip the processing of frame or not. I have two ideas for this challenge:
1- I have to modify the nvinfer plugin and when get 0 from motion detection plugin then send the buffer without processing and without metadata.
2- the nvinfer has interval properties and cause the plugin doesn’t process on frame, I want to know is it possible to change properties of plugin when the pipeline is playing?

1- I have to modify the nvinfer plugin and when get 0 from motion detection plugin then send the buffer without processing and without metadata.
[Answer] What do you want Nvidia to help you? The nvinfer plugin source codes are opened. You can modify it.
2- the nvinfer has interval properties and cause the plugin doesn’t process on frame, I want to know is it possible to change properties of plugin when the pipeline is playing?
[Answer] Yes, the property can be changed during the pipeline is in PLAYING state.

1 Like