modules to convert image to array in python code example Example: from image to numpy array import cv2 im = cv2.imread("abc.tiff",mode='RGB') print type(im)