powered by
Converts the .csv file to a COCO-formatted .json file.
export_coco(manifest, class_list, out_file, info = NULL, licenses = NULL)
coco formated json
dataframe containing images and associated detections
dataframe containing class names and their corresponding IDs
path to save the formatted file
info section of COCO file, named list
licenses section of COCO file, array
if (FALSE) export_megadetector(manifest, output_file= 'results.json', detector='MDv6')
Run the code above in your browser using DataLab