Skip to content

This is for create the training set of image to YOLO

License

Notifications You must be signed in to change notification settings

felipecpc/YOLO-Tools

 
 

Repository files navigation

YOLO-Tools

Useful scripts to prepare a testing dataset.

Convert to jpg

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

Annotation

Annotation Tool

Tool to mark the elements in the image

python3 annotation.py

Convert to Darknet

Take the output from annotation tool and convert to the format expected by darknet

python3 convert2darknet.py

Split

Split the dataset between training and test

python3 split.py

Darkflow

Convert the darknet annotation file to

python3 darknet2darkflow.py

About

This is for create the training set of image to YOLO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 84.2%
  • Jupyter Notebook 15.8%