Performing image transformations using the python image processing library pillow Use cases include dataset augmentation for machine learning
filename = "coins.jpeg"
flipLeftToRight(filename)
flipTopToBottom(filename)
rotate90(filename)
rotate180(filename)
rotate270(filename)
Output 1: coins_FLR.jpeg
Output 2: coins_FTB.jpeg
Output 3: coins_R90.jpeg
Output 4: coins_R180.jpeg
Output 5: coins_R270.jpeg