Let's see how to build a grayscale image as a 2D array: import numpy as np from matplotlib import pyplot as plt random_image = np. getdata() to convert PIL.
確定! 回上一頁