import cv2 img = cv2.imread("testimage.png") resized = cv2.resize(img, (100,100), interpolation=cv2.INTER_LINEAR)