Windows

cv2.waitKey()
cv2.destroyAllWindows()

cv2.getTickCount, cv2.getTickFrequency

cv2.useOptimized()
cv2.setUseOptimized()

cv2.countNonZero() vs. np.count_nonzero()

Images

cv2.imread(), cv2.imshow() , cv2.imwrite()

cv2.copyMakeBorder()

cv2.add(), cv2.addWeighted()

cv2.cvtColor(), cv2.inRange()

cv2.threshold(), cv2.adaptiveThreshold()

cv2.getPerspectiveTransform()
cv2.warpAffine() cv2.warpPerspective()

cv2.blur(), cv2.boxFilter()

cv2.GaussianBlur()

cv2.medianBlur()

cv2.bilateralFilter()

cv2.erode(), cv2.dilate(), cv2.morphologyEx()
cv2.getStructuringElement()

cv2.Sobel(), cv2.Scharr(), cv2.Laplacian()

cv2.Canny()

cv2.pyrUp(), cv2.pyrDown()

cv2.findContours(), cv2.drawContours()
cv2.moments()

cv2.contourArea()
cv2.arcLength()

cv2.convexHull()
cv2.isContourConvex()

cv2.boundingRect()
cv2.minAreaRect()
cv2.boxPoints()

cv2.minEnclosingCircle()
cv2.fitEllipse()
cv2.fitLine()

cv2.convexityDefects()
cv2.pointPolygonTest()

cv2.matchShapes()

cv2.calcHist(), np.histogram(), np.histogram2d()

cv2.equalizeHist()

cv2.calcBackProject()

cv2.dft(), cv2.idft(),

np.fft.fft2()
np.fft.fftshift()

cv2.getOptimalDFTSize()

cv2.matchTemplate(), cv2.minMaxLoc()

cv2.HoughLines(), cv2.HoughLinesP()

cv2.HoughCircles()

cv2.watershed()

cv2.grabCut()

cv2.cornerHarris(), cv2.cornerSubPix()

cv2.goodFeaturesToTrack()

cv2.ORB()

cv2.drawKeypoints(), cv2.drawMatches()

Videos

cv2.VideoCapture(), cv2.VideoWriter()

ret, frame = cap.read()
cap.read()
cap.isOpened()
cap.open()
cap.get(propId)
cap.set(propId, value)

cv2.calcOpticalFlowPyrLK()

cv2.createBackgroundSubtractorMOG()

Drawing

cv2.line(), cv2.circle() , cv2.rectangle(), cv2.ellipse(), cv2.putText()

Mouse

cv2.setMouseCallback()

Trackbar

cv2.getTrackbarPos(), cv2.createTrackbar()

Camera

cv2.findChessboardCorners()
cv2.findCirclesGrid()
cv2.cornerSubPix()
cv2.drawChessboardCorners()
cv2.calibrateCamera()
cv2.getOptimalNewCameraMatrix()

Machine Learning

kNN
SVM
k-Means

Noise

cv2.fastNlMeansDenoising(), cv2.fastNlMeansDenoisingColored()

cv2.fastNlMeansDenoisingMulti(), cv2.fastNlMeansDenoisingColoredMulti()

cv2.inpaint()

Detection

Images Processing

  • Converting images between different color models
  • Understanding the importance of frequencies and the Fourier transform in image processing
  • Applying high-pass filters (HPFs), low-pass filters (LPFs), edge detection filters, and custom convolution filters
  • Detecting and analyzing contours, lines, circles, and other geometric shapes Writing classes and functions that encapsulate the implementation of a filter