使用Pillow Image 裡的crop 方法,指定要裁切的範圍( 左上座標到右下座標),就能裁切圖片。 import os os.chdir('/content/drive/MyDrive/Colab Notebooks') # Colab ...
確定! 回上一頁