# Custom Object Detection with ROS1

**URL:** <https://community.stereolabs.com/t/custom-object-detection-with-ros1/1527>\
**Category:** ROS1\
**Created:** [August 25, 2022, 11:15am UTC](https://community.stereolabs.com/t/custom-object-detection-with-ros1/1527 "2022-08-25T11:15:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![li221199](https://community.stereolabs.com/user_avatar/community.stereolabs.com/li221199/32/693_2.png) [@li221199](https://community.stereolabs.com/u/li221199)\
**Post date:** [August 25, 2022, 11:15am UTC](https://community.stereolabs.com/t/custom-object-detection-with-ros1/1527/1 "2022-08-25T11:15:38Z")

</div>

Hello,  
I am following the tutorial for [custom object detection](https://www.stereolabs.com/docs/object-detection/custom-od/) with the Zed2i and ROS1.  
When I want to use some information and functions released by the camera (such as tracking and rviz), and do my own custom object detection, and finally extract the detection information to the ZED SDK. The Zed2i will conflict because it cannot be turned on twice. How to solve this problem please? What is the best way to integrate ZED2i’s custom object detection with ROS?

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [August 25, 2022, 12:42pm UTC](https://community.stereolabs.com/t/custom-object-detection-with-ros1/1527/2 "2022-08-25T12:42:10Z")

</div>

Hi @li221199  
it is not possible to modify the ZED ROS Wrapper in order to add Custom Object Detection capabilities and make it usable for every possible use case.  
For this reason, we decided to not integrate it for the moment until we find a robust solution.  
However you can do that by yourself, the ROS Wrapper is open source and you can modify the [main loop](https://github.com/stereolabs/zed-ros-wrapper/blob/master/zed_nodelets/src/zed_nodelet/src/zed_wrapper_nodelet.cpp#L3226) of the ZED Nodelet and add your custom detector code.

---

<div class="post-metadata">

**Author:** ![li221199](https://community.stereolabs.com/user_avatar/community.stereolabs.com/li221199/32/693_2.png) [@li221199](https://community.stereolabs.com/u/li221199)\
**Post date:** [August 25, 2022, 12:46pm UTC](https://community.stereolabs.com/t/custom-object-detection-with-ros1/1527/3 "2022-08-25T12:46:52Z")

</div>

thanks for your suggestion，I will try to do this

---

<div class="post-metadata">

**Author:** ![nouhe](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/n/e19adc/32.png) [@nouhe](https://community.stereolabs.com/u/nouhe)\
**Post date:** [September 16, 2025, 3:08pm UTC](https://community.stereolabs.com/t/custom-object-detection-with-ros1/1527/4 "2025-09-16T15:08:35Z")

</div>

hey @li221199 any updates ? did it wok for you ?
