bboxconverter.io.writer_yolo

Module Contents

Functions

to_yolo(df_bbox, output_path)

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

bboxconverter.io.writer_yolo.to_yolo(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 yolo format

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

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