# Image segmentation using yolov8 with zed 2i python

**URL:** <https://community.stereolabs.com/t/image-segmentation-using-yolov8-with-zed-2i-python/3565>\
**Category:** Python\
**Created:** [September 25, 2023, 6:29am UTC](https://community.stereolabs.com/t/image-segmentation-using-yolov8-with-zed-2i-python/3565 "2023-09-25T06:29:45Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![JPlou](https://community.stereolabs.com/user_avatar/community.stereolabs.com/jplou/32/1012_2.png) [@JPlou](https://community.stereolabs.com/u/JPlou)\
**Post date:** [November 23, 2023, 8:48am UTC](https://community.stereolabs.com/t/image-segmentation-using-yolov8-with-zed-2i-python/3565/6 "2023-11-23T08:48:54Z")

</div>

@sanjaiiv04

I don’t know of a way to do that, but there may be, yes.  
To clarify, the ZED SDK can ingest bounding boxes from a custom detector, and it is able to infer masks from them. You can then exploit the [mask](https://www.stereolabs.com/docs/api/python/classpyzed_1_1sl_1_1ObjectData.html#aff25fe6cafaf46730a2b278426aaafbb) output from ObjectData in any way you want, it is the result of the SDK segmentation.

---

_[View the full topic](https://community.stereolabs.com/t/image-segmentation-using-yolov8-with-zed-2i-python/3565)._
