Home
SeHoon
Cancel

OCR

Types of OCR PyTesseract EasyOCR Implementaion Optical Character Recognition with PyTesseract & EASY OCR

Background Removal

Types of Background Removal Grab Cut What is Grab Cut? GrabCut is an image segmentation method based on graph cuts. It can be used by cv2.grabCut(img, mask, rect, bgdModel, fgdModel, iterCo...

Object Tracking with Optical Flow

What is Optical Flow? Optical flow is the pattern of apparent motion of image objects between two consecutive frames caused by the movemement of object or camera. It is 2D vector field where each v...

Motion Tracking with Mean Shift & CAM SHIFT

What is Mean Shift? Mean shift is a hill climbing algorithm which involves shifting this kernel iteratively to a higher density region until convergence. Every shift is defined by a mean shift vect...

Background & Foreground Subtraction

What is Background Subtraction? Background subtraction (BS) is a common and widely used technique for generating a foreground mask by using static cameras. BS calculates the foreground mask perform...

Watershed

What is Watershed Algorithm? Any grayscale image can be viewed as a topographic surface where high intensity denotes peaks and hills while low intensity denotes valleys. This algorithm uses that an...

Get histogram in CV

How to get histogram in CV? We can get histogram simply by using: cv2.calcHist(images, channels, mask, hitSize, ranges) where, images : The source image of type uint8 or float32. it should be g...

Finding Corners

How to Detect Corners? A corner is a point whose local neighborhood stands in two dominant and different edge directions. In other words, a corner can be interpreted as the junction of two edges, w...

Template Matching

What is Template Matching in OpenCV? Template matching takes a “sliding window” of our waldo query image and slides it across our puzzle image from left to right and top to bottom, one pixel at a ...

Line & Circle & Blob Detection

Line detection Line detection is performed by two methods Hough Lines: cv2.HoughLines(image, rho, theta, threshold) where: image : binarized/thresholded image rho : Distance res...