Skip to content

Python Script for Dataset preparation with command line arguments which resizes square images to the designated size specified and keeps the ratio of non square images while adding a white border to them.

License

Notifications You must be signed in to change notification settings

maksimay/padded-resizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

padded-resizer

Python Script for Dataset preparation with command line arguments which batch resizes square images to the designated size specified and keeps the ratio of non square images while adding a white border to them.

Command Line arguments:

-src SourceFolderName -des DestinationFolderName -d desiredSize

Example usage:

python padding_resizer.py -src input -des output -d 512

About

Python Script for Dataset preparation with command line arguments which resizes square images to the designated size specified and keeps the ratio of non square images while adding a white border to them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages