Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Nvidia Jetson Orin Nano • DeepStream Version 6.3 • JetPack Version (valid for Jetson only) 5.1.2 • TensorRT Version • NVIDIA GPU Driver Version (valid for GPU only) • Issue Type( questions, new requirements, bugs)
I want to have the tracking ID of objects in each frame and the time they enter and exit the frame. As far as I understood, we can not have composer GUI on Nvidia Jetson devices, how I can extract those information. Thanks in advance
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
Is the code you are using our demo or your own? Take our deepstream_test2 as an example.
You can add a probe function on the src_pad of the nvtracker plugin.
GstPad *nvtracker_src_pad = gst_element_get_static_pad (nvtracker, "src");
if (!nvtracker_src_pad )
g_print ("Unable to get src pad\n");
else
gst_pad_add_probe (nvtracker_src_pad , GST_PAD_PROBE_TYPE_BUFFER,
nvtracker_src_pad_buffer_probe, NULL, NULL);
gst_object_unref (nvtracker_src_pad );
Then you can get the object_id in the probe function.
obj_meta->object_id;
Finally, you can count the time when a particular onject_id appears and disappears yourself.