/image-transformations-using-python-and-pillow

Performing image transformations using the python image processing library pillow. Use cases include dataset augmentation for machine learning

Primary LanguagePythonMIT LicenseMIT

image-transformations-using-python-and-pillow

Performing image transformations using the python image processing library pillow Use cases include dataset augmentation for machine learning

Example

    filename = "coins.jpeg"
    flipLeftToRight(filename)
    flipTopToBottom(filename)
    rotate90(filename)
    rotate180(filename)
    rotate270(filename)

Output 1: coins_FLR.jpeg

image flipped left to right

Output 2: coins_FTB.jpeg

image flipped left to right

Output 3: coins_R90.jpeg

image flipped left to right

Output 4: coins_R180.jpeg

image flipped left to right

Output 5: coins_R270.jpeg

image flipped left to right