# NVTracker functionality

**URL:** <https://forums.developer.nvidia.com/t/nvtracker-functionality/278621>\
**Category:** DeepStream SDK\
**Created:** [January 11, 2024, 10:23am UTC](https://forums.developer.nvidia.com/t/nvtracker-functionality/278621 "2024-01-11T10:23:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gauravchandgupta](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@gauravchandgupta](https://forums.developer.nvidia.com/u/gauravchandgupta)\
**Post date:** [January 11, 2024, 10:23am UTC](https://forums.developer.nvidia.com/t/nvtracker-functionality/278621/1 "2024-01-11T10:23:38Z")

</div>

Please provide complete information as applicable to your setup.

\*\*• Hardware Platform (Jetson / GPU) GPU A100 \*\*  
\*\*• DeepStream Version 6.4 \*\*  
**• 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)**  
Let’s say we have 3 objects detected by detector in frame 0 and in frame 1 only 2 objects are detected by detector and 1 object is missed by the detector. In our pipeline we use detector followed by tracker,so we are expecting that tracker should have still have given us 3 objects in frame1 but it gives only 2.This issue is seen in 6.4 deepstream tracker. Please let me know how can this be overcome ?

---

<div class="post-metadata">

**Author:** ![kesong](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kesong/32/101255_2.png) [@kesong](https://forums.developer.nvidia.com/u/kesong)\
**Post date:** [January 12, 2024, 7:50am UTC](https://forums.developer.nvidia.com/t/nvtracker-functionality/278621/3 "2024-01-12T07:50:45Z")

</div>

Can you have a try with shadow tracking target data? [Gst-nvtracker — DeepStream documentation 6.4 documentation](https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_plugin_gst-nvtracker.html#miscellaneous-data-output)

---

<div class="post-metadata">

**Author:** ![gauravchandgupta](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@gauravchandgupta](https://forums.developer.nvidia.com/u/gauravchandgupta)\
**Post date:** [January 16, 2024, 1:47pm UTC](https://forums.developer.nvidia.com/t/nvtracker-functionality/278621/4 "2024-01-16T13:47:18Z")

</div>

Thanks for helping us.We tried your suggestion and we probed the source pad of nvtracker in python like this  
def tracker\_probe(self,pad, info, u\_data):  
gst\_buffer = info.get\_buffer()  
if not gst\_buffer:  
print(“Unable to get GstBuffer”)  
return  
print(“in tracker probe”)  
batch\_meta = pyds.gst\_buffer\_get\_nvds\_batch\_meta(hash(gst\_buffer))

```
    batch_user_meta_list = batch_meta.batch_user_meta_list
    print("batch_user_meta_list",batch_user_meta_list)
    while batch_user_meta_list is not None:
        user_meta = pyds.NvDsUserMeta.cast(batch_user_meta_list.data)
        user_meta_base_meta = user_meta.base_meta
        print("hello",int(user_meta_base_meta.meta_type))
        if int(user_meta_base_meta.meta_type) == 19:
            user_meta_data = pyds.NvDsTargetMiscDataBatch.cast(user_meta.user_meta_data)
            ab = pyds.NvDsTargetMiscDataStream.cast(user_meta_data.list)

```

But we get error when we run the above code in the last line . So can u help us in getting rect\_params field available in NvDsTargetMiscDataFrame in python. Or do we need to use another method to get all the bbox of shadow tracks by probing tracker source pad.

---

<div class="post-metadata">

**Author:** ![kesong](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kesong/32/101255_2.png) [@kesong](https://forums.developer.nvidia.com/u/kesong)\
**Post date:** [January 17, 2024, 7:36am UTC](https://forums.developer.nvidia.com/t/nvtracker-functionality/278621/5 "2024-01-17T07:36:25Z")

</div>

**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**

You method is right. Maybe you need write python bindings for NvDsTargetMiscDataFrame.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [February 24, 2024, 5:06am UTC](https://forums.developer.nvidia.com/t/nvtracker-functionality/278621/6 "2024-02-24T05:06:36Z")

</div>

Closed on February 24, 2024, 5:06am UTC

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