These are some random codes to preprocess a dataset of images. Just tried out some of the preprocessing techniques on a small subset of celebrity face dataset.
sreyafrancis/Playing_with_images
playing with dataset of images(preprocessing and training)
Jupyter Notebook