Image segmentation using yolov8 with zed 2i python

Hi @ash, welcome to the forums

I think you can only make the ZED SDK ingest bounding boxes and not masks, currently.
So, it’s not really a display issue.

That being said, the masks in the BodyData are 2D arrays with values being either 0 (not mask) or 255 (mask). Their dimensions are the ones of the bounding_box_2d attribute. They are located in the frame following the bounding_box_2d origin.

You can use the tool you want to display it.
@Gopi-htic used pyplot here for example: Mask is inconsistent