Deepstream-app does not show tracking id

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): NVIDIA GeForce RTX 2080 Ti
• DeepStream Version: 6.4
• JetPack Version (valid for Jetson only)
• TensorRT Version: 8.6.1.6
• NVIDIA GPU Driver Version (valid for GPU only): 535.183.01
• Issue Type( questions, new requirements, bugs): questions
• 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)

I tried to play deepstream-app with source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt, I disable sink0 and sink2, and enable sink1, but in the out.mp4 that does not show tracking id (car_i, person_k, …).

Here is the tracker group

[tracker]
enable=1
# For NvDCF and NvDeepSORT tracker, tracker-width and tracker-height must be a multiple of 32, respectively
tracker-width=960
tracker-height=544
ll-lib-file=/opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
# ll-config-file required to set different tracker types
# ll-config-file=config_tracker_IOU.yml
# ll-config-file=config_tracker_NvSORT.yml
ll-config-file=config_tracker_NvDCF_perf.yml
# ll-config-file=config_tracker_NvDCF_accuracy.yml
# ll-config-file=config_tracker_NvDeepSORT.yml
gpu-id=0
display-tracking-id=1
$ cd /opt/nvidia/deepstream/deepstream-6.4/samples/configs/deepstream-app
$ ../../../bin/deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt

source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt (5.8 KB)

Hi

Did you enable osd in the config file?


[osd]
enable=1

Regards,
Allan Navarro

Embedded SW Engineer at RidgeRun

Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: www.ridgerun.com

Dear @allan.navarro ,

Yes, here it is

[osd]
enable=1
gpu-id=0
border-width=1
text-size=15
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;1
font=Serif
show-clock=0
clock-x-offset=800
clock-y-offset=820
clock-text-size=12
clock-color=1;0;0;0
nvbuf-memory-type=0

I can see bounding boxes in the out.mp4 without track id.

Could you try display-text=1 in osd?

Regards,
Allan Navarro

Embedded SW Engineer at RidgeRun

Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: www.ridgerun.com

Hello @allan.navarro ,

Thank you. I have just tried, but still the same, the out.mp4 shows only bounding boxes without track id.

Dear @kesong ,

I also test DeepStream SDK 7.0, and the it is the same. Have you observed that?

Or do we need to do something like how-to-show-tracking-id-in-out-mp4-deepstream4-0

cc: @kesong,

I see this func in deepstream_app.c

process_meta (AppCtx * appCtx, NvDsBatchMeta * batch_meta)
{
  // For single source always display text either with demuxer or with tiler
  if (!appCtx->config.tiled_display_config.enable ||
      appCtx->config.num_source_sub_bins == 1) {
    appCtx->show_bbox_text = 1;
  }

If I let this appCtx->show_bbox_text = 1 always true, so everything will be ok.

1 Like

We are analyzing this issue and will give feedback as soon as we come to a conclusion.

1 Like

Thank you.

I think the size of the displayed texts must be scaled right to the tiled-display configuration (width, height, # of sources).

Yes. You can just add -t 1 to your command.

deepstream-app -c source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt -t 1
1 Like

Yes, I see. Thank you.

GOptionEntry entries[] = {
  {"version", 'v', 0, G_OPTION_ARG_NONE, &print_version,
      "Print DeepStreamSDK version", NULL}
  ,
  {"tiledtext", 't', 0, G_OPTION_ARG_NONE, &show_bbox_text,
      "Display Bounding box labels in tiled mode", NULL}
...

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