Alternatively, to get a numpy array from an image use: from PIL import Image from numpy import array img = Image.open("input.png")
確定! 回上一頁