In this post, we will learn about Eigenface — an application of Principal Component Analysis (PCA) for human faces. We will also share C++ and Python code written using OpenCV to explain the concept. The video below shows a demo of EigenFaces. The code for the application shown in the video is shared in this […]
The post Eigenface using OpenCV (C++/Python) first appeared on Learn OpenCV.Eigenface using OpenCV (C++/Python)
Face Reconstruction using EigenFaces (C++/Python)
In this post, we will learn how to reconstruct a face using EigenFaces. This post is written for beginners. If you don’t know about Principal Component Analysis (PCA) or EigenFaces, I recommend you go through the following posts in the series. Principal Component Analysis (PCA) EigenFace using OpenCV (C++/Python) What are EigenFaces? In our previous […]
The post Face Reconstruction using EigenFaces (C++/Python) first appeared on Learn OpenCV.Facemark : Facial Landmark Detection using OpenCV
In this tutorial, we will learn about facial landmark detection using OpenCV with no external dependencies. I have written several posts about Facial Landmark Detection and its applications. You can use landmark detection for face morphing, face averaging and face swapping. Until now, we had used the landmark detection that comes with Dlib. It works […]
The post Facemark : Facial Landmark Detection using OpenCV first appeared on Learn OpenCV.Average Faces of FIFA World Cup 2018
Football has been one of the most followed sports in the past decades. With an average attendance of 53k in a single match for the past years, let’s get into this FIFA fever as well! Imagine your favorite team having a single face which includes features from all the faces of the team! Will Neymar […]
The post Average Faces of FIFA World Cup 2018 first appeared on Learn OpenCV.Gender & Age Classification using OpenCV Deep Learning ( C++/Python )
In this tutorial, we will discuss an interesting application of Deep Learning applied to faces. We will estimate the age and figure out the gender of the person from a single image. The model is trained by Gil Levi and Tal Hassner. We will discuss in brief the main ideas from the paper and provide […]
The post Gender & Age Classification using OpenCV Deep Learning ( C++/Python ) first appeared on Learn OpenCV.Face Recognition with ArcFace
Can we distinguish one person from another by looking at the face? We can probably list several features such as eye colour, hairstyle, skin tone, the shape of nose and eyebrows, etc. Some combination of such attributes will be unique to a particular person. Sometimes, people have visual similarities, and in rare cases, it becomes […]
The post Face Recognition with ArcFace first appeared on Learn OpenCV.Create Snapchat/Instagram filters using Mediapipe
A tutorial for using Mediapipe’s Face-Mesh to create Augmented Reality Facial Filters. We are sharing the code in Python.
The post Create Snapchat/Instagram filters using Mediapipe first appeared on LearnOpenCV.Driver Drowsiness Detection Using Mediapipe In Python
Driver drowsiness detection systems help reduce mishaps due to tired or sleepy drivers. Learn to build such a robust system using MediaPipe in Python.
The post Driver Drowsiness Detection Using Mediapipe In Python first appeared on LearnOpenCV.Automatic Red Eye Remover using OpenCV (C++ / Python)
In this tutorial, we will learn how to remove red eyes from a photo completely automatically. Just thinking about this problem of red-eye removal brings back memories from my childhood. I grew up in small towns in India where not every family in my middle-class neighborhood had a camera. My family owned a point-and-shoot color […]
The post Automatic Red Eye Remover using OpenCV (C++ / Python) first appeared on LearnOpenCV.Head Pose Estimation using OpenCV and Dlib
In this tutorial we will learn how to estimate the pose of a human head in a photo using OpenCV and Dlib. In many applications, we need to know how the head is tilted with respect to a camera. In a virtual reality application, for example, one can use the pose of the head to […]
The post Head Pose Estimation using OpenCV and Dlib first appeared on LearnOpenCV.