# DeepStream & Python test2 &Traking

**URL:** <https://forums.developer.nvidia.com/t/deepstream-python-test2-traking/175997>\
**Category:** DeepStream SDK\
**Created:** [April 22, 2021, 8:04am UTC](https://forums.developer.nvidia.com/t/deepstream-python-test2-traking/175997 "2021-04-22T08:04:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![837331759](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@837331759](https://forums.developer.nvidia.com/u/837331759)\
**Post date:** [April 22, 2021, 8:04am UTC](https://forums.developer.nvidia.com/t/deepstream-python-test2-traking/175997/1 "2021-04-22T08:04:08Z")

</div>

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson)**  
\*\*• DeepStream Version_5.1_  
**• JetPack Version (4.5)**  
\*\*• TensorRT Version_7.x_  
In example 2, I don’t understand the following code very well

 ![QQ截图20210422154615](https://global.discourse-cdn.com/nvidia/original/3X/9/2/9296f22ad0cb2e871c9d6b268f74c847d15ca01c.png)

Question one  
The function of this code is to print out some basic information (such as category, location, etc.) of the target in the past N frames when the tracking target disappears from the video. When the target does not disappear from the video, the code will not be executed.Is my understanding correct？

Question two  
On the basis of example 2, how to obtain the tracking ID value of each tracking object in real time?

---

<div class="post-metadata">

**Author:** ![bcao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/bcao/32/14043_2.png) [@bcao](https://forums.developer.nvidia.com/u/bcao)\
**Post date:** [April 23, 2021, 9:30am UTC](https://forums.developer.nvidia.com/t/deepstream-python-test2-traking/175997/3 "2021-04-23T09:30:05Z")

</div>

> [@837331759](#):
>
> On the basis of example 2, how to obtain the tracking ID value of each tracking object in real time?

`guint64 object_id` under  
[https://docs.nvidia.com/metropolis/deepstream/sdk-api/Meta/\_NvDsObjectMeta.html](https://docs.nvidia.com/metropolis/deepstream/sdk-api/Meta/_NvDsObjectMeta.html)

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:14pm UTC](https://forums.developer.nvidia.com/t/deepstream-python-test2-traking/175997/5 "2021-10-12T16:14:26Z")

</div>


