Exporting SAM results in COCO format

I have tried the same thing that you have mentioned but the resulting mask is in binary format, I need a polygon points in coco-format.

Hi @Idea_Squad

I split off your topic since it was somewhat of a different topic. If you are trying to export SAM annotations in COCO format, you can use Smart Polygon.

image

Then, you can export in COCO format.
image

Hope this helps!