Png mask to yolov8 segmentation annotation conversion

I currently have the png masks of respective images used for training sfnet and segformer model.
But the issue here is that I want to convert thsese annotations to yolov8 format. As yolov8 takes the text inputs as annotation I am facing a lot of trouble in converting them.

Does roboflow provide a way to do this, or any suggestion would be welcomed.

2 Likes