坐标系
坐标系
img = cv2.imread('testimg.jpeg')
print(img.shape)
print(np.shape(img))
输出
(3072, 4096, 3)
(3072, 4096, 3)
Resize
原图
img = cv2.resize(img, (100, 200))
print(img.shape)
输出
(200, 100, 3)
resize
在opencv中row=height=y colum=width=x












网友评论