arrow_to_coco

Function arrow_to_coco 

Source
pub async fn arrow_to_coco<P: AsRef<Path>>(
    arrow_path: P,
    output_path: P,
    options: &ArrowToCocoOptions,
    progress: Option<Sender<Progress>>,
) -> Result<usize, Error>
Expand description

Convert EdgeFirst Arrow format to COCO annotations.

Reads an Arrow file and produces COCO JSON output.

§Arguments

  • arrow_path - Path to EdgeFirst Arrow file
  • output_path - Output COCO JSON file path
  • options - Conversion options
  • progress - Optional progress channel

§Returns

Number of annotations converted