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:

How to convert color image in grayscale using OpenCV

How to Convert Color Image in Grayscale using OpenCV Python

You can convert a color image in grayscale using OpenCV Python by following the given steps. I highly recommend you get the “Computer Vision: Models, Learning, and Inference Book” to learn Computer Vision. Step 1 Open the Spyder IDE (integrated development environment). Step 2 Import the OpenCV library. If OpenCV is not installed in your system then first …

How to Convert Color Image in Grayscale using OpenCV Python Read More »