A useful script for converting voc format annotations(generated by LabelImg or LabelImg) to coco format annotations
- python2.7
- opencv
- numpy
converter = voc2coco('/path/to/VOCdevkit','year') converter.voc_to_coco_converter()
/path/to/VOCdevkit/VOCyear/cocoformatJson