Crop Caltech-UCSD-Birds_200_2011 dataset for classification
This file is for Windows, please modify something ex. "./" or ".\" for other OS. Dataset is from: http://www.vision.caltech.edu/visipedia/CUB-200-2011.html
or wget http://www.vision.caltech.edu/visipedia-data/CUB-200-2011/CUB_200_2011.tgz
after untar this .tgz file, please put this ImageCrop.py file into the folder and run it. Ex.
D:\CUB_200_2011>python ImageCrop.py --input images --output test
You will have all cropped dataset basded on bounding_boxes.txt in folder .\test
Reference
Wah C., Branson S., Welinder P., Perona P., Belongie S. “The Caltech-UCSD Birds-200-2011 Dataset.” Computation & Neural Systems Technical Report, CNS-TR-2011-001. download pdf[http://www.vision.caltech.edu/visipedia/papers/CUB_200_2011.pdf]