Skip to content

About

coco and voc dataset analyze

Topics

Resources

Stars

17 stars

Watchers

1 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

The latest content has been migrated to Ghlerrix/DataAnalyze

Install

git clone https://github.com/Shanyaliux/DataAnalyze.git
cd DataAnalyze
pip install -r requirements.txt

Usage

DataAnalyze

python analyze.py ${type} ${path} [--out ${out}]
  • type The format of the dataset, optional 'coco' or 'voc'.
  • path The path of dataset. If type is 'coco', the path is the json file path. If type is 'voc', the path is the path of the xml file directory.
  • --out is the output directory, default is './out'
Example
python analyze.py coco ./tarin.json --out ./out/
python analyze.py voc ./xml/ --out ./out/

DataVisualize

python analyze.py ${type} ${path} [--out ${out}]
  • type The format of the dataset, optional 'coco' or 'voc'.
  • imgPath The images' path of dataset.
  • labels The path of dataset. If type is 'coco', the path is the json file path. If type is 'voc', the path is the path of the xml file directory.
  • --out is the output directory, default is './out'
  • --thickness is thickness of the bbox.
Example
python visualize.py coco images/ ./tarin.json --out ./out/ --thickness 1
python visualize.py voc ./images/ ./xml/ --out ./out/ --thickness 1

Screenshot

1 2 3 4

About

coco and voc dataset analyze

Topics

Resources

Stars

17 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages