#导入工具包
from imutils import *
#读入图片
image = imread('test.jpg') show(image)
#裁剪1
image = imread('test.jpg') image = image[0:200,50:200] show(image)
#裁剪2
image = imread('test.jpg') image = image[200:,50:-50] show(image)