Skip to main content

export_studio_to_coco

Function export_studio_to_coco 

Source
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 client
  • dataset_id - Source dataset in Studio
  • annotation_set_id - Source annotation set
  • output_path - Output file path (JSON or ZIP)
  • options - Export options
  • progress - Optional progress channel

§Returns

Number of annotations exported