How to get the age of a tracked object using NvDCF? And how to drop frame in a customed plugin?

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 5.0
• TensorRT Version 7.0
• NVIDIA GPU Driver Version (valid for GPU only) NVIDIA-Linux-x86_64-450.80.02
• Issue Type( questions, new requirements, bugs) questions

Can I get the current age of a tracked object when using NvDCF?
Also, In some condition how to drop current frame and nothing will pass to downstream pipeline while in other condition the data goes normally?

You can get the age from past frame in NvDsPastFrameObj.

We only support drop frame in decoder and nvinfer plugin periodilly.

Thank you for your reply. Can you please explain drop frame with some code in detail ?
I want to know how to do this in my customed plugin.

Hey, pls refer gstnvinfer.cpp -> gst_nvinfer_process_full_frame() for the details.

@bcao, Thank you. Your answer helps a lot.

1 Like