git clone https://github.com/Mortal0814/DataAnalyze.git
cd DataAnalyze
pip install -r requirements.txtpython analyze.py ${type} ${path} [--out ${out}]typeThe format of the dataset, optional 'coco' or 'voc'.pathThe path of dataset. Iftypeis 'coco', thepathis the json file path. Iftypeis 'voc', thepathis the path of the xml file directory.--outis 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}]typeThe format of the dataset, optional 'coco' or 'voc'.imgPathThe images' path of dataset.labelsThe path of dataset. Iftypeis 'coco', thepathis the json file path. Iftypeis 'voc', thepathis the path of the xml file directory.--outis the output directory, default is './out'--thicknessis thickness of the bbox.
python visualize.py coco images/ ./tarin.json --out ./out/ --thickness 1 --textThickness 1python visualize.py voc ./images/ ./xml/ --out ./out/ --thickness 1 --textThickness 1


