pub async fn export_studio_to_coco(
client: &Client,
dataset_id: DatasetID,
annotation_set_id: AnnotationSetID,
output_path: impl AsRef<Path>,
options: &CocoExportOptions,
progress: Option<Sender<Progress>>,
) -> Result<usize, Error>Expand description
Export Studio dataset to COCO format.
Downloads samples and annotations from Studio and converts to COCO format.
§Arguments
client- Authenticated Studio clientdataset_id- Source dataset in Studioannotation_set_id- Source annotation setoutput_path- Output file path (JSON or ZIP)options- Export optionsprogress- Optional progress channel
§Returns
Number of annotations exported