Tag: opencv

#006 Morphological transformations with OpenCV in Python

Highlight: In this OpenCV with Python post we are going to talk about morphological transformations. Fundamentally, there are two basic morphological transformations and they are called dilation and erosion. They are present in image processing in different applications. They are used for the removal of noise or for finding the bumps or holes in images. In addition, these operations can also be used to calculate gradients of images. Moreover, once we learn two basic morphological…
Read more

#007 Color quantization using K-means clustering

Highlight: This post can come as a very interesting and surprising one. You will see how we can apply a machine learning algorithm on the pixel intensity color with a so-called K-means clustering algorithm. In this way, we would be able to create a compressed version of our image that will have much fewer colors. The picture will be preserved in a lower color resolution, whereas the number of pixels will remain the same. This…
Read more

#017 Face detection algorithms comparison

Highlights: Researchers and computer vision practitioners have generally developed many face detection algorithms. In this post, we will use 5 of the most popular algorithms. Also, we will compare their detection accuracy rate. Additionally, we will measure the runtime of these algorithms. Facial detection is a technique used by computer algorithms to detect a person’s face through images. Accordingly, the objective of facial detection is to get different features of human faces from images. Due to…
Read more

#005 Image Arithmetic and Logical operations in OpenCV with Python

Highlight: Hello and welcome to the sixth part of our OpenCV with Python post series. In this post we will cover some basic image arithmetic. You will learn how to perform some elementary arithmetic operations on images like addition and subtraction. In addition we will talk about logical bitwise operations (AND, OR, XOR, NOT). Also, we will see how we can implement these operations in some practical tasks in Python. For example, we will explain…
Read more

#004 How to smooth and sharpen an image in OpenCV?

Highlight: In our previous posts we mastered some basic image processing techniques and now we are ready to move on to more advanced concepts. In this post, we are going to explain how to blur and sharpen images. When we want to blur or sharpen our image, we need to apply a linear filter. You will learn several types of filters that we often use in the image processing In addition, we will also show…
Read more