pub async fn coco_to_arrow<P: AsRef<Path>>(
coco_path: P,
output_path: P,
options: &CocoToArrowOptions,
progress: Option<Sender<Progress>>,
) -> Result<usize, Error>Expand description
Convert COCO annotations to EdgeFirst Arrow format.
This is a high-performance async conversion that uses parallel workers for parsing and transforming annotations.
§Arguments
coco_path- Path to COCO annotation JSON file or ZIP archiveoutput_path- Output Arrow file pathoptions- Conversion optionsprogress- Optional progress channel
§Returns
Number of samples converted