How can I activate org_bbox_coords options in deepstream 6.4

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Tesla T4
• 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.104.12
• 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)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

NVIDIA DeepStream SDK API Reference: _NvDsComp_BboxInfo Struct Reference | NVIDIA Docs

I’m testing with Yolo as the detector and Resnet/Nvdeepsort as the tracker in deepstream 6.4 SDK. However, when I use both detector and tracker together, the results deteriorate. I want to apply org_bbox_coords, but I’m not sure how to do it based on the above document alone.

You can refer to our source code write_kitti_track_output in the sources\apps\sample_apps\deepstream-app\deepstream_app.c.

    for (NvDsMetaList * l_obj = frame_meta->obj_meta_list; l_obj != NULL;
        l_obj = l_obj->next) {
      NvDsObjectMeta *obj = (NvDsObjectMeta *) l_obj->data;
      float left = obj->tracker_bbox_info.org_bbox_coords.left;
      float top = obj->tracker_bbox_info.org_bbox_coords.top;
      float right = left + obj->tracker_bbox_info.org_bbox_coords.width;
      float bottom = top + obj->tracker_bbox_info.org_bbox_coords.height;

Your answer has been very helpful. If you don’t mind, could I inquire about the possibility and procedure of applying the org_bbox_coords option to deepstream-test5-app

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

Deepstream-test5-app is based on deepstream-app, all you need to do is configure the relevant parameters gie-kitti-output-dir and get the org_bbox_coords from the code I attached.

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