📜  调整图像数组大小 python 代码示例

📅  最后修改于: 2022-03-11 14:45:19.178000             🧑  作者: Mango

代码示例1
import cv2
#img is your image as array

#size of the new image
height = 500
width = 500

img_resized = cv2.resize(img, (width, height))