from PIL import Image im = Image.open('lena.png') im.show(). 2. 將PIL Image 圖片轉換為numpy 陣列 im_array = np.array(im) # 也可以 ...
確定! 回上一頁