# Nv-analytics reload dynamically

**URL:** <https://forums.developer.nvidia.com/t/nv-analytics-reload-dynamically/316988>\
**Category:** DeepStream SDK\
**Tags:** deepstream\
**Created:** [December 17, 2024, 5:42am UTC](https://forums.developer.nvidia.com/t/nv-analytics-reload-dynamically/316988 "2024-12-17T05:42:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![debjit.adak](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@debjit.adak](https://forums.developer.nvidia.com/u/debjit.adak)\
**Post date:** [December 17, 2024, 5:42am UTC](https://forums.developer.nvidia.com/t/nv-analytics-reload-dynamically/316988/1 "2024-12-17T05:42:48Z")

</div>

Please provide complete information as applicable to your setup.

\*\*• Hardware Platform --------\> GPU  
**• DeepStream Version** ------\> 7.0  
**• TensorRT Version** --------\> 8.6  
\*\*• NVIDIA GPU Driver Version---------\> 550

I went though this topic : - [Runtime Configuration Changes for Gst-nvdsanalytics Plugin Settings](https://forums.developer.nvidia.com/t/runtime-configuration-changes-for-gst-nvdsanalytics-plugin-settings/270161)

I want to implement same thing with python ! Could you help me out with this !

@fanzh

---

<div class="post-metadata">

**Author:** ![fanzh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fanzh/32/115955_2.png) [@fanzh](https://forums.developer.nvidia.com/u/fanzh)\
**Post date:** [December 17, 2024, 2:58pm UTC](https://forums.developer.nvidia.com/t/nv-analytics-reload-dynamically/316988/3 "2024-12-17T14:58:12Z")

</div>

the solution is similar. first please modify the nvdsanalytics plugin, then modify python app layer to use the new feature of nvdsanalytics.

---

<div class="post-metadata">

**Author:** ![debjit.adak](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@debjit.adak](https://forums.developer.nvidia.com/u/debjit.adak)\
**Post date:** [December 17, 2024, 3:11pm UTC](https://forums.developer.nvidia.com/t/nv-analytics-reload-dynamically/316988/4 "2024-12-17T15:11:44Z")

</div>

Hi @fanzh  
Can you share me the exact changes in gstnvdsanalytics.cpp and for python bindings what particular change I need to do ! and give me a simple code in python How I can use this features !

---

<div class="post-metadata">

**Author:** ![fanzh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/fanzh/32/115955_2.png) [@fanzh](https://forums.developer.nvidia.com/u/fanzh)\
**Post date:** [December 18, 2024, 6:21am UTC](https://forums.developer.nvidia.com/t/nv-analytics-reload-dynamically/316988/5 "2024-12-18T06:21:50Z")

</div>

please refer to my last comment in the topic mentioned in issue description. after modifying the plugin. you don’t need to do any binding. you only port the code in [test5.diff](https://forums.developer.nvidia.com/uploads/short-url/75rfz25VL6BWc64YNGkjubCnwV6.diff) to Python code. please refer to this [code](https://github.com/NVIDIA-AI-IOT/deepstream_python_apps/blob/master/apps/deepstream-test1/deepstream_test_1.py#L205) for how to set property in python.

---

<div class="post-metadata">

**Author:** ![debjit.adak](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@debjit.adak](https://forums.developer.nvidia.com/u/debjit.adak)\
**Post date:** [December 31, 2024, 4:24am UTC](https://forums.developer.nvidia.com/t/nv-analytics-reload-dynamically/316988/6 "2024-12-31T04:24:11Z")

</div>

Thanks It works.

---

<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:** [January 14, 2025, 4:25am UTC](https://forums.developer.nvidia.com/t/nv-analytics-reload-dynamically/316988/7 "2025-01-14T04:25:11Z")

</div>

Closed on January 14, 2025, 4:25am UTC

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