Where to reference current frame index in deepstream-app

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): Jetson Xavier
• DeepStream Version: 5.1
• JetPack Version (valid for Jetson only): 4.5
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs): Question
• 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)

I am looking for a way to reference the current frame index in deepstream-app. Do you have any suggestions?

Frame id stored in struct _NvDsFrameMeta field frame_num, you can add probe function in source pad of primary nvinfer element, for example, you can change to other elements according your needs. iterate batch meta data to get frame meta data. from frame meta data, you can get frame id.

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