helpers for processing/preparing images to then be used as GAN training data.
These are mostly tweaked versions of scripts from Adrian Rosebrock that I use in my personal practice to process images for GAN
- video_to_frames.py -- splits video into individual image frames
- video_to_faces.py -- splits video into individual image frames and then crops faces from these frames
- align_faces.py -- uses Adrian Rosebrock's code to crop and align faces from photos
- flip.py -- duplicates and flips (horizontally) images in a folder (for augmenting small data)
- resize.py -- will resize to the right dimensions for GAN (from Eric Kleppen's GAN tutorial)