Object-detection dataset analyze
Last updated Jun 10, 2026
32
Stars
4
Forks
0
Issues
0
Stars/day
Attention Score
13
Language breakdown
Python 100.0%
▸ Files
click to expand
README
Install
git clone https://github.com/Mortal0814/DataAnalyze.git
cd DataAnalyze
pip install -r requirements.txt
Usage
DataAnalyze
python analyze.py ${type} ${path} [--out ${out}]
typeThe format of the dataset, optional 'coco' or 'voc'.pathThe path of dataset.
type is 'coco', the path is the json file path.
If type is 'voc', the path is the path of the xml file directory.
--outis 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}]
typeThe format of the dataset, optional 'coco' or 'voc'.imgPathThe images' path of dataset.labelsThe path of dataset.
type is 'coco', the path is the json file path.
If type is 'voc', the path is the path of the xml file directory.
--outis the output directory, default is './out'--thicknessis thickness of the bbox.
Example
python visualize.py coco images/ ./tarin.json --out ./out/ --thickness 1 --textThickness 1
python visualize.py voc ./images/ ./xml/ --out ./out/ --thickness 1 --textThickness 1
Screenshot



🔗 More in this category