多項(xiàng)選擇題
A.OpenCV是一個(gè)開源計(jì)算機(jī)視覺(jué)庫(kù)B.OpenCV支持多種編程語(yǔ)言,包括Python和C++C.OpenCV只能在Windows操作系統(tǒng)上使用D.OpenCV可以用于圖像處理和視頻分析
A.cv2.calcHist([img],[0],None,[256],[0,256])B.plt.hist(img.ravel(),256,[0,256])C.cv2.equalizeHist(img)D.cv2.histogram(img)
A.cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)B.cv2.cvtColor(img,cv2.COLOR_BGR2HSV)C.cv2.cvtColor(img,cv2.COLOR_GRAY2BGR)D.cv2.cvtColor(img,cv2.COLOR_HSV2BGR)
A.cap =cv2.VideoCapture(’video.mp4’)B.ret,frame =cap.read()C.cv2.VideoWriter(’output.avi’,cv2.VideoWriter_fourcc(*’XVID’),20.0,(640,480))D.cv2.imread(’video.mp4’)
A.cv2.Canny(img,50,150)B.cv2.Sobel(img,cv2.CV_64F,1,0,ksize=3)C.cv2.Laplacian(img,cv2.CV_64F)D.cv2.cornerHarris(img,2,3,0.04)
A.cv2.resize(img,(200,200))B.cv2.resize(img,None,fx=0.5,fy=0.5)C.cv2.pyrUp(img)D.cv2.pyrDown(img)
A.cv2.imread(’image.jpg’,cv2.IMREAD_GRAYSCALE)B.img =cv2.imread(’image.jpg’,0)C.img =cv2.imread(’image.jpg’,cv2.COLOR_BGR2GRAY)D.img =cv2.imread(’image.jpg’,cv2.IMREAD_COLOR)
A.cv2.findChessboardCorners()B.cv2.calibrateCamera()C.cv2.solvePnP()D.cv2.stereoCalibrate()
A.光流法B.KLT跟蹤C.MeanshiftD.Camshift
A.Haar級(jí)聯(lián)分類器B.YOLOC.SSDD.HOG+SVM
A.KNNB.SVMC.CNND.RNN