Script to convert COCO annotations to YOLO format if you use: http://www.robots.ox.ac.uk/~vgg/software/via/ and want to convert addnotation results to format like using in: https://github.com/tzutalin/labelImg This code will, can be helping. Works with only boundingboxes.