edit_or
February 26, 2025, 1:50am
1
Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) Orin 64G development kit
• DeepStream Version 7.1
• JetPack Version (valid for Jetson only) 6.1
I am using deepstream_parallel_inference_app. I wonder how to add probe for getting bounding boxes of detected objects for each gie?
edit_or
February 27, 2025, 5:13am
2
any reply for this? thanks
1.If you can get the bbox of all detected objects in the osd sink probe, This is where the code is
2.If you want to add probe to each pgie src pad, please refer to here
for (i = 0; i < num_sub_bins; i++) {
if (config->primary_gie_sub_bin_config[i].enable
|| config->video_template_sub_bin_config[i].enable) {
if (config->video_template_sub_bin_config[i].enable) {
if (!create_primary_gie_videotemplate_bin (&config->video_template_sub_bin_config[i],
&bin->primary_gie_bin[i])) {
goto done;
}
} else {
if (!create_primary_gie_bin (&config->primary_gie_sub_bin_config[i],
&bin->primary_gie_bin[i])) {
goto done;
}
}
g_snprintf (name, sizeof (name), "primary_gie_%d_bin", i);
gst_element_set_name (bin->primary_gie_bin[i].bin, name);
gst_bin_add (GST_BIN (bin->bin), bin->primary_gie_bin[i].bin);
sink_elem = bin->primary_gie_bin[i].bin;
src_elem = bin->primary_gie_bin[i].bin;
Then modify the code add probe function which you want. just like
#psesudo code
NVGSTDS_ELEM_ADD_PROBE (pipeline->
common_elements.primary_bbox_buffer_probe_id,
bin->primary_gie_bin[i], "src",
gie_primary_processing_done_buf_prob, GST_PAD_PROBE_TYPE_BUFFER,
pipeline->common_elements.appCtx);
1 Like
system
Closed
March 14, 2025, 2:39am
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.