Delete certain frame from pipeline

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.4
• NVIDIA GPU Driver Version (valid for GPU only) 530.30.02

Hello,
I want to pass only specific frames in pipeline, but I have problem. Specifically, I want to detect faces(PGIE), get tensors of the faces(PGIE), and only get frames that obtain specific target faces.

I tried Gst.PadProbeReturn.Drop at osd_sink_pad to delete frames that do not meet the conditions, but something wrong happend. For example, if I have a video of 10 seconds with FPS 1 and try to extract only frame 2 and 4, the pipeline must provide 2 seconds video as result. But the output video is longer than that and have some delayed frames.

Is there any way to handle this in pipeline?

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

If you want to process specific target, I think just dropping frames is not accurate enough.

You may consider using trackid. Regarding this, you can refer to deepstream-test2

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