How to get all metadata displayed on a frame

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU 3080
• DeepStream Version 6.3
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• 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 want to extract all metadata which is displayed on a frame, including dirStatus, roi, label, id_number. I want to get them from display_meta_list. How can i extract them?

You can refer to our source code:opt\nvidia\deepstream\deepstream\sources\apps\sample_apps\deepstream-avsync\deepstream_avsync_app.c.

static GstPadProbeReturn
nvosd_sink_pad_buffer_probe (GstPad * pad, GstPadProbeInfo * info,
    gpointer u_data)
{
...
    for (l = display_meta_list; l != NULL; l = l->next)
    {
      display_meta = (NvDsDisplayMeta *)(l->data);
      txt_params = &display_meta->text_params[0];
      ...
    }
...
}
1 Like

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