Skip to content

Wratch/Data_Augmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Augmentation Tools..

Image Tiling

How to use on the command line :

python image_tiling.py --input input/ --destination result/ --divide_x 2 --divide_y 2 --extra_frame 30 --extension jpg

--input : Enter the location of the images and labels(txt files)

--destination : Enter the folder where the processed images and tags will be extracted

--divide_x : Enter how many equal parts you want to divide the x coordinate into

--divide_y : Enter how many equal parts you want to divide the y coordinate into

--extra_frame : Enter extra frame for overlap image

--extension : Enter image extension (jpg,png)

Txt files must be in yolo format:

1 0.716797 0.395833 0.216406 0.147222
0 0.687109 0.379167 0.255469 0.158333
1 0.420312 0.395833 0.140625 0.166667

Original photo:

After image tilling:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages