def averageBlur(srcpath, dstpath):
img = cv2.imread(srcpath, 0) #????????
blur = cv2.blur(img,(3,5))#????3*5
# cv2.imwrite(dstpath, blur)
plt.subplot(1,2,1),plt.imshow(img,'gray')
plt.subplot(1,2,2),plt.imshow(blur,'gray')
plt.show()
# ????
评论列表
文章目录