Exporting image annotations to different formats
Exporting the release file for image datasets to different formats
You can export the release file for image datasets to different formats with the Python SDK. Use the export_dataset
util function for this, setting the export_format
parameter to one of the following:
Value | Description |
| COCO instance segmentation format |
| COCO panoptic segmentation format |
| Yolo Darknet object detection format |
| Grayscale PNGs (16-bit) where the values correspond to instance ids |
| Grayscale PNGs (8-bit) where the values correspond to category ids |
| Colored PNGs where the colors correspond to different instances |
| Colored PNGs where the colors correspond to different categories, with colors as configured in the label editor settings when available |
| For exporting segmentation bitmap labels to polygons |
Example:
Alternatively, you can use the initialized SegmentsDataset
to loop through the samples and labels, and visualize or process them in any way you please:
Last updated