Skip to content

cooparation/datasets_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tools for VOC and COCO style datasets

Requirements

  • cocodataset/cocoapi

Instructions

coco tools

  • extract_coco_sample.py extract the sample coco data to check label infomation
  • copy_file.py copy labeled files to dir[images, annotations]
  • convert2coco.py convert to COCO style dir structure
  • rename_categories.py rename the categories
  • labelme2coco.py convert the labelme json to coco json
  • labelme2mask.py convert the labelme json to png mask
  • mask2coco.py convert the png mask to coco json

voc tools

  • getSomeClass.py extract some class from the VOC
  • get_prec_ap_rec.sh get the eval results precision, mean average precision and recall

About

Converting labelme json to COCO style json and rename the categories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published