The convert.py
script downloads the images and converts the annotations from the Dataturks json file to YOLO format.
- Clone or download this repository.
- Create folders for saving images and YOLO config files.
- Execute:
python3 convert.py -d <path/to/dataturks.json> -i <directory/to/save/downloaded/images/> -y <directory/to/save/yolo/config/files/>
Note: -v
flag can be used for detailed output.
- Downloaded images along with their annotations in the specified directory.
- YOLO config files
train.txt, obj.names, obj.data, yolov3.cfg
saved in the specified directory.