Deep Learning, Machine Learning, Data Science, Python, Heartbeat.
import Image import matplotlib.pyplot as plt img = Image.open("/content/drive/MyDrive/cat.jpg") flipped_img = img.transpose(Image.FLIP_LEFT_RIGHT) ###flipping roated_img = img.transpose(Image.ROTATE_90) ## rotating scaled_img = img.resize((400, 400)) ### scaling ##left, upper, right, lower