Category: OpenCV

#003 OpenCV projects – How to create Instagram like filters, mustaches, glasses, and masks?

Highlights: In this post, we are going to have some fun. We will apply Haar cascade classifiers to detect faces, and different parts of the face in a video such as eyes, and mouth. Then, we will learn how to place funny objects like masks, mustaches, or glasses over the detected part of a face.  Tutorial overview: Introduction How to put a mask over the face? How to put a mustache over the face? How…
Read more

#001 OpenCV projects – Face Tracking with OpenCV using Haar cascade detectors

Highlights: This will be our introductory post where we will explain the difference between object detection and object tracking. We will learn the easiest way to track objects and in this case, it will be a face detection. We will admit that we are cheating a bit because we are not using tracking algorithms. Due to the simplicity of this post as a simple introduction, we are going to use Viola-Jones face detection algorithm. In…
Read more

#004 OpenCV projects – How to extract features from the image in Python?

Highlights: In this post, we are going to show how to detect distinct features in an image. We will describe the important properties of these features (keypoints) and we will learn how we can use them to better understand the structure and the content of an image. Furthermore, we will talk about the most common algorithms that can be used for feature detection. So, let’s begin. Tutorial overview: What are keypoints? Detecting corners with Harris…
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