How to set the correct data type of message

I just run the precedure of deepstream on jetson nx with jetpackage 4.5.1. And I try to add some additional information, such as meta->confidence in the message when running the deepstream-app, but got the number of 0 with int type.

Pls help to confirm my questions, thanks!

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)

• DeepStream Version

• 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)

Jetson NX with jackpage 4.5.1, deepstream5.1, tensorrt 7.2.2

I also check the same issue on gpu of NVIDIA- T4, with Driver Version: 515.65.01, tensorrt 7.2.2

  1. seems msg2p-newapi is set to 0. About the confidence, you need to set the value to msg_meta. please refer to osd_sink_pad_buffer_metadata_probe in deepstream-test4.
  2. about bbox coordinates, you can print bbox coordinates after generate_event_msg_meta. the value used in generate_deepstream_message_minimal is set before “nvds_add_user_meta_to_frame (frame_meta, user_event_meta);”. please refer to osd_sink_pad_buffer_metadata_probe in deepstream-test4.

Sorry for the late reply, Is this still an DeepStream issue to support? Thanks!

sorry, I had forgot this issue and focus on others emergency issues…
I will recheck this later if I finish the issues on hand, thanks.


it seems the confidence can be added successfully!

1 Like

Glad to know you fixed it, thanks for the update! Is this still an DeepStream issue to support? Thanks!

no, already fixed. It can be closed.

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