Change format from XML to COCO (https://cocodataset.org/#detection-2020) annotations.
To run the code : python xml_to_coco.py
You may need to change file paths with args.
--images_dir_path : path to the directory stored images
--output_path : output text path styled with coco format
--xml_dir_path : path to the xml file
--annotation_file : path to annotation file storing class names