Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 415 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 415 Bytes

XMLtoCOCO

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