I just annotated my images and want to output the image in the format like the image below. Is there a way to do so?
1 Like
Hi @hhua5600, yes, you can do so in the following manner:
- Export your data rows and labels from a project (docs).
- View the NDJSON of the labels and locate the dictionary representative of the mask you are interested in. For example, a mask annotation in export v2 will appear as follows:
{
"feature_id": "clgvcrhmx003m14tt5dlrupws",
"name": "mask",
"annotation_kind": "ImageSegmentationMask",
"classifications": [],
"mask": {
"url": "https://api.labelbox.com/api/v1/projects/clgvcreou01yv070j1kw5dblq/annotations/clgvcrhmx003m14tt5dlrupws/mask"
}
}
- Grab the mask URL.
This should allow you to access the segmentation mask data as desired!
1 Like