# Can the nvdsanalytics plugin property be modified through the REST API?

**URL:** <https://forums.developer.nvidia.com/t/can-the-nvdsanalytics-plugin-property-be-modified-through-the-rest-api/273185>\
**Category:** DeepStream SDK\
**Created:** [November 17, 2023, 7:45am UTC](https://forums.developer.nvidia.com/t/can-the-nvdsanalytics-plugin-property-be-modified-through-the-rest-api/273185 "2023-11-17T07:45:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![hechuan929929](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hechuan929929](https://forums.developer.nvidia.com/u/hechuan929929)\
**Post date:** [November 17, 2023, 7:45am UTC](https://forums.developer.nvidia.com/t/can-the-nvdsanalytics-plugin-property-be-modified-through-the-rest-api/273185/1 "2023-11-17T07:45:00Z")

</div>

My question is, in the DeepStream6.2 sdk, GPU, docker environment, using the nvmultiurisrcbin plugin in deepstream-test5, Can I make REST API calls through HTTP endpoints to modify the ROI parameters of nvdsanalytics plug-in in real time, such as the size of the ROI region? Can the modification take effect directly without restarting the entire pipeline? If possible, could you please give some examples for reference? Thank you!

---

<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:** [November 17, 2023, 8:49am UTC](https://forums.developer.nvidia.com/t/can-the-nvdsanalytics-plugin-property-be-modified-through-the-rest-api/273185/3 "2023-11-17T08:49:18Z")

</div>

currently using RTST API only can add and remove stream. please refer to [doc](https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_plugin_gst-nvmultiurisrcbin.html#features) for feature explanation and sample.  
about modifying the nvdsanalytics 's ROI at runtime, please refer to this [topic](https://forums.developer.nvidia.com/t/runtime-configuration-changes-for-gst-nvdsanalytics-plugin-settings/270161).

---

<div class="post-metadata">

**Author:** ![hechuan929929](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hechuan929929](https://forums.developer.nvidia.com/u/hechuan929929)\
**Post date:** [November 20, 2023, 9:29am UTC](https://forums.developer.nvidia.com/t/can-the-nvdsanalytics-plugin-property-be-modified-through-the-rest-api/273185/4 "2023-11-20T09:29:40Z")

</div>

If I refer to topic 2, can I copy the gst-nvdsanalytics directory from DS6.3 into the DS6.2 environment and replace it with a new so file after compilation? Because most of my projects in DS6.2 environment have been completed. thank you！

---

<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:** [November 20, 2023, 9:35am UTC](https://forums.developer.nvidia.com/t/can-the-nvdsanalytics-plugin-property-be-modified-through-the-rest-api/273185/5 "2023-11-20T09:35:49Z")

</div>

> [@hechuan929929](#):
>
> can I copy the gst-nvdsanalytics directory from DS6.3 into the DS6.2 environment and replace it with a new so file after compilation?

yes, or you can copy source, then rebuild.

---

<div class="post-metadata">

**Author:** ![hechuan929929](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hechuan929929](https://forums.developer.nvidia.com/u/hechuan929929)\
**Post date:** [November 28, 2023, 8:17am UTC](https://forums.developer.nvidia.com/t/can-the-nvdsanalytics-plugin-property-be-modified-through-the-rest-api/273185/6 "2023-11-28T08:17:31Z")

</div>

How do I implement nvdsanalytics parameters modification via the REST API of the nvmultiurisrcbin plugin? Without stopping the entire pipeline. Can you give some hints? Thanks!

---

<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:** [November 28, 2023, 8:25am UTC](https://forums.developer.nvidia.com/t/can-the-nvdsanalytics-plugin-property-be-modified-through-the-rest-api/273185/7 "2023-11-28T08:25:12Z")

</div>

you can implement a REST server yourself, which can process the requests from client.

---

<div class="post-metadata">

**Author:** ![hechuan929929](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hechuan929929](https://forums.developer.nvidia.com/u/hechuan929929)\
**Post date:** [November 28, 2023, 8:39am UTC](https://forums.developer.nvidia.com/t/can-the-nvdsanalytics-plugin-property-be-modified-through-the-rest-api/273185/8 "2023-11-28T08:39:31Z")

</div>

Will this feature be added in a future version?

---

<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:** [November 28, 2023, 9:47am UTC](https://forums.developer.nvidia.com/t/can-the-nvdsanalytics-plugin-property-be-modified-through-the-rest-api/273185/9 "2023-11-28T09:47:50Z")

</div>

please refer to opt\nvidia\deepstream\deepstream-6.3\sources\apps\sample\_apps\deepstream-server\deepstream\_server\_app.cpp, which supports REST server and processing many kinds of requests. please refer to readme.

---

<div class="post-metadata">

**Author:** ![Levi\_Pereira](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Levi\_Pereira](https://forums.developer.nvidia.com/u/Levi_Pereira)\
**Post date:** [December 4, 2023, 4:25pm UTC](https://forums.developer.nvidia.com/t/can-the-nvdsanalytics-plugin-property-be-modified-through-the-rest-api/273185/10 "2023-12-04T16:25:39Z")

</div>

@fanzh about [`Runtime Configuration Changes for Gst-nvdsanalytics Plugin Settings`](https://forums.developer.nvidia.com/t/runtime-configuration-changes-for-gst-nvdsanalytics-plugin-settings/270161/5) I want to thank you for providing the solution to my problem. I couldn’t express my gratitude in the previous post because it’s closed. Everything worked perfectly, and I’m already using it in production on deepstream 6.3.

---

<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:** [December 18, 2023, 4:26pm UTC](https://forums.developer.nvidia.com/t/can-the-nvdsanalytics-plugin-property-be-modified-through-the-rest-api/273185/11 "2023-12-18T16:26:09Z")

</div>

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