git clone https://github.com/Mortal0814/DataAnalyze.git
cd DataAnalyze
pip install -r requirements.txt
python analyze.py ${type} ${path} [--out ${out}]
type
The format of the dataset, optional 'coco' or 'voc'.path
The path of dataset. Iftype
is 'coco', thepath
is the json file path. Iftype
is 'voc', thepath
is the path of the xml file directory.--out
is the output directory, default is './out'
python analyze.py coco ./tarin.json --out ./out/
python analyze.py voc ./xml/ --out ./out/
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. Iftype
is 'coco', thepath
is the json file path. Iftype
is 'voc', thepath
is the path of the xml file directory.--out
is the output directory, default is './out'--thickness
is thickness of the bbox.
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