Export a dataset
export_datasetExport selected images as one training dataset in COCO, YOLO, or QuPath format, with a shared class list so label IDs stay consistent across images.
Instructions
Export several images as ONE training dataset, with one class list so ids mean the same everywhere.
Choose the images by category (case-insensitive) or image_ids (up to 100). coco: one COCO file for all images; yolo: classes plus a label file per image, named after it; qupath: a GeoJSON file per image. classes fixes the class order; other labels follow in first-seen order. With output_dir (a folder on the machine running this server; not available when hosted) the files are written there and only a summary is returned, which suits large datasets such as nuclei.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 'coco' (COCO JSON), 'yolo' (YOLO labels and classes) or 'qupath' (QuPath GeoJSON, nuclei as detections). | coco |
| classes | No | Class names in the order to number them; other labels follow in first-seen order. | |
| category | No | Export every image in this category (case-insensitive); give this or image_ids. | |
| image_ids | No | Export these images (up to 100); give this or category. | |
| output_dir | No | Folder on the machine running this server to write the files to (not when hosted); omit to return them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||