bboxconverter.io.writer_coco

Module Contents

Functions

to_coco(df_bbox, output_path)

This function will take an array of bounding box and write it to a .json file respecting the coco format

bboxconverter.io.writer_coco.to_coco(df_bbox: pandas.core.frame.DataFrame, output_path: str | Path)

This function will take an array of bounding box and write it to a .json file respecting the coco format

Parameters:
  • df_bbox (DataFrame) – The dataframe containing the bounding box informations

  • output_path (str | Path) – The path to the output file.