Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 413 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 413 Bytes

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