OpenCV

OpenCV

cv2 videocapture

cv2 videocapture | OpenCV Video Capture

In this OpenCV Tutorial, you’ll learn how to capture video from a camera in OpenCV Python. If you want to capture video from your laptop camera then use this cv2.VideoCapture(0). I highly recommend you get the “Computer Vision: Models, Learning, and Inference Book” to learn computer vision.

Histogram Equalization OpenCV

Histogram Equalization OpenCV

In this OpenCV Tutorial, you’ll learn how to perform histogram equalization in OpenCV Python. Histogram equalization is used in image processing for contrast adjustment. I highly recommend you get the “Computer Vision: Models, Learning, and Inference Book” to learn computer vision. In the following example, I will use this image. Output:

Template Matching

Template Matching in OpenCV

In this OpenCV Tutorial, you’ll learn how to perform template matching in OpenCV Python. I highly recommend you get the “Computer Vision: Models, Learning, and Inference Book” to learn computer vision. We will use the following two images for template matching. Output:

Edge Detection OpenCV

Edge Detection OpenCV

In this OpenCV Tutorial, you’ll learn how to implement edge detection in OpenCV Python. I highly recommend you get the “Computer Vision: Models, Learning, and Inference Book” to learn computer vision. These two following edge-detection algorithms are available in OpenCV. We will implement both algorithms on the following image and see their results. Canny Edge Detection Sobel …

Edge Detection OpenCV Read More »

Face Detection using OpenCV Python

Face Detection using OpenCV Python

In this article, you’ll see face detection using OpenCV in Python. You have to follow these steps to detect faces. I highly recommend you get the “Computer Vision: Models, Learning, and Inference Book” to learn Computer Vision. Step 1: Import Libraries Import the required Libraries. Step 2: Read an Image Read an image from the location. In …

Face Detection using OpenCV Python Read More »