Closed brimoor closed 3 years ago
As of https://github.com/voxel51/fiftyone/pull/612, COCODetectionDataset
format now supports loading instance segmentations.
In fact, it provides parameters for controlling whether segmentations are loaded, omitted, or loaded as polylines rather than detections with dense segmentation masks.
Some resources on the topic:
There are some questions here, like should the output be stored as
Detections
with instancemask
s, or should the output be stored asPolylines
? Or both (leveraging alabels_dict
return type)? Need to think about the label class contract of the importer/exporters...One wrinkle is that single objects are stored as vertices, while crowds are stored as RLE'd dense masks. One would probably prefer all masks to be stored in one format or the other in FiftyOne, not mixed.