Export annotations
export_annotationsExport an image's annotations as COCO JSON, YOLO labels, or QuPath GeoJSON for model training or object import.
Instructions
Export an image's annotations: COCO JSON or YOLO (polygons and circles, as the web app exports), or QuPath GeoJSON (File > Import objects in QuPath; nuclei found by StarDist come in as detections).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 'coco' (COCO JSON), 'yolo' (YOLO labels and classes) or 'qupath' (QuPath GeoJSON, nuclei as detections). | coco |
| image_id | Yes | Id of an image in Image Label: the imageId (a UUID string) returned by list_images or an upload. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||