cocodataset / panopticapi

COCO 2018 Panoptic Segmentation Task API (Beta version)
Other
418 stars 184 forks source link

Conversion from panoptic to segmentic segmentation with color. #47

Open ohhh25 opened 3 years ago

ohhh25 commented 3 years ago

This allows users of the panopticapi to convert from panoptic to segmentatic segmentation with rgb-colored pngs. The color mapping is based off the 'panoptic_coco_categories.json' category color mapping. To convert with color, add the argument '--save_with_color True'. This only adds color if the user is saving to pngs.