Yangchao0053 / voc2coco-1

A useful script for converting voc format annotations(generated by LabelImg or Labelme) to coco format annotations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

voc2coco

A useful script for converting voc format annotations(generated by LabelImg or LabelImg) 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

About

A useful script for converting voc format annotations(generated by LabelImg or Labelme) to coco format annotations

License:MIT License


Languages

Language:Python 100.0%