图片缩放
image=cv2.imread(‘test.jpg‘)
res=cv2.resize(image,(32,32),interpolation=cv2.INTER_CUBIC)
cv2.imshow(‘iker‘,res)
cv2.imshow(‘image‘,image)
cv2.waitKey(0)
cv2.destoryAllWindows()
python opencv 学习笔记
原文:https://www.cnblogs.com/adong7639/p/9009637.html