Useful scripts to prepare a testing dataset.
This script will convert the images in a given folder to jpg and also resize it.
imageSize = (800,600)
imagePath = "Images/001/*.*"
datasetOutput = "dataset"
python3 convert2jpg.py
Tool to mark the elements in the image
python3 annotation.py
Take the output from annotation tool and convert to the format expected by darknet
python3 convert2darknet.py
Split the dataset between training and test
python3 split.py
Convert the darknet annotation file to
python3 darknet2darkflow.py