1#coding=utf-82fromPILimportImage3#pil paste可以进行图片拼接4importcv25importnumpy as np6importglob as glob7importos8"""9输入:图片路径(path+filename),裁剪获得小图片的列数、行数(也即宽、高)10输出:无11"""12defcrop_one_picture(path, filename, cols, rows):13img = cv2.imread(filename,1...