一、代码
import cv2 as cv
import numpy as np
img = cv.imread(r"C:\Users\Administrator\Desktop\python_RandomText\test.tif")
print("图片大小为:\n",img.shape)
imgGray = cv.cvtColor(img,cv.
一、代码
import cv2 as cv
import numpy as np
img = cv.imread(r"C:\Users\Administrator\Desktop\python_RandomText\test.tif")
print("图片大小为:\n",img.shape)
imgGray = cv.cvtColor(img,cv.