Hussain Nasir Khan

A programmer, writer, and engineer. I have a deep interest in computer vision and artificial intelligence.

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:

List to Tuple Python

Convert list to tuple Python

In this article, you’ll see how to convert a list to a tuple in Python. I highly recommend you get the “Python Crash Course Book” to learn Python. There are different methods to convert a list into a tuple. Three methods are given: Method 1: list to tuple You can use tuple keyword to convert a list …

Convert list to tuple Python Read More »

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 »