赞
踩
cv2.resize(img, (W, H), interpolation=cv2.INTER_CUBIC)
skimage.transform.resize(img, (H, W))
skimage.transform.resize会把图片像素值归一化到0-1.