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