mellivoraPKU / COCO2VOC

Convert the data of COCO to VOC format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COCO2VOC

An implementation of converting data of COCO format to VOC format

Usage

  1. You need to download COCO data and unzip it

  2. Move this code into the folder where you unzip COCO

  3. You can change the class_map in filter.py if you need to. And the COCO_map.txt has the main 80 classes and their map name in COCO.

  4. sh run.sh and you can find a new folder Annotations where *.xml are stored there.

You can change the year of COCO you want to convert in run.sh ,default is 2014

About

Convert the data of COCO to VOC format


Languages

Language:Python 96.7%Language:Shell 3.3%