hkchengrex / Cutie

[CVPR 2024 Highlight] Putting the Object Back Into Video Object Segmentation
https://hkchengrex.com/Cutie/
MIT License
730 stars 71 forks source link

Change the output to polygon #17

Closed pakcheera closed 1 year ago

pakcheera commented 1 year ago

This is an amazing repo, this help me a lot in my work. I have a question, Is there any efficient way to convert the output from mask to polygon when I have multiple objects?

hkchengrex commented 1 year ago

By polygons, do you mean the COCO format? You can use the pycocotools to do the conversion. Why would you want this behavior?