cocodataset / panopticapi

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

How to specify instance mask in coco panoptic annotation format? #36

Open zeng-hello-world opened 4 years ago

zeng-hello-world commented 4 years ago

Here is a coco panoptic segmentation annatation format from COCO website: image

Since the segment_info has only category_id related to instance color mask in annotation mask image, how do you tell instances have the same category_id one from another?

Also, I noticed panoptic annotation mask images in this project: sample_data/panoptic_examples/000000142238.png 000000142238 the color of these person category are a little different from each others.

Thanks!