摘要: python使用opencv获取图像尺寸(高宽深) import cv2 as cv img = cv.imread("D:\\test.jpg") size = img.shape h = size[0] #高度 w = size[1] #宽度 chan = size[2] #通道数img.siz 阅读全文
posted @ 2023-09-22 10:25 ChLizzZ 阅读(31) 评论(0) 推荐(0)