Quantcast
Channel: Face | LearnOpenCV
Viewing all 54 articles
Browse latest View live

Computer Vision for Predicting Facial Attractiveness

$
0
0
Most of us have looked in the mirror and wondered how good we look. But, it is often difficult to be objective while judging our own attractiveness, and we are often too embarrassed to ask for others’ opinion. What if there was a computer program that could answer this question for you, without a human to look […]

Facial Landmark Detection

$
0
0
Who sees the human face correctly: the photographer, the mirror, or the painter? — Pablo Picasso If Picasso was alive today, he would have definitely added one more professional to that list — a computer vision engineer! As computer vision engineers and researchers we have been trying to understand the human face since the very […]

Delaunay Triangulation and Voronoi Diagram using OpenCV ( C++ / Python )

$
0
0
In a previous post I had discussed two libraries for facial landmark detection, and had pointed to several interesting applications like Face Morphing, Face Replacement etc. that use facial landmarks. In many such applications a triangulation of facial landmarks is first found (See Figure 1), and these triangles are warped to do something interesting. This […]

Face Morph Using OpenCV — C++ / Python

$
0
0
  In this tutorial we will learn how to morph one face into another using OpenCV. I have chosen to use the photos of the top three American Presidential candidates, but this is not a political post and I have no political agenda. And yes, that is the prettiest picture of Donald Trump I could […]

Face Swap using OpenCV ( C++ / Python )

$
0
0
In this tutorial we will learn how to swap out a face in one image with a completely different face using OpenCV and DLib in C++ and Python. To understand the description below better, download the C++ and Python code and images by subscribing to our newsletter here. Ladies and gentlemen, let me present Ted Trump, […]

Average Face : OpenCV ( C++ / Python ) Tutorial

$
0
0
In this tutorial we will learn how to create an average face using OpenCV ( C++ / Python ). Most people would agree that the woman in Figure 1 is pretty. Can you guess her ethnicity ? Why is her skin flawless ? Well, she is not real. She is not completely virtual either. Her […]

Speeding up Dlib’s Facial Landmark Detector

$
0
0
In this tutorial I will explore a few ways to speed up Dlib’s Facial Landmark Detector. Dlib’s Facial Landmark Detector Dlib has a very good implementation of a very fast facial landmark detector. I had reviewed it in my post titled Facial Landmark Detection. Subsequently, I wrote a series of posts that utilize Dlib’s facial […]

Head Pose Estimation using OpenCV and Dlib

$
0
0
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 […]

Automatic Red Eye Remover using OpenCV (C++ / Python)

$
0
0
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 […]

Eigenface using OpenCV (C++/Python)

$
0
0
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 […]

Face Reconstruction using EigenFaces (C++/Python)

$
0
0
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 […]

Facemark : Facial Landmark Detection using OpenCV

$
0
0
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 […]

Delaunay Triangulation and Voronoi Diagram using OpenCV ( C++ / Python )

$
0
0
In a previous post I had discussed two libraries for facial landmark detection, and had pointed to several interesting applications like Face Morphing, Face Replacement etc. that use facial landmarks. In many such applications a triangulation of facial landmarks is first found (See Figure 1), and these triangles are warped to do something interesting. This […]

Face Morph Using OpenCV — C++ / Python

$
0
0
  In this tutorial we will learn how to morph one face into another using OpenCV. I have chosen to use the photos of the top three American Presidential candidates, but this is not a political post and I have no political agenda. And yes, that is the prettiest picture of Donald Trump I could […]

Face Swap using OpenCV ( C++ / Python )

$
0
0
In this tutorial we will learn how to swap out a face in one image with a completely different face using OpenCV and DLib in C++ and Python. To understand the description below better, download the C++ and Python code and images by subscribing to our newsletter here. Ladies and gentlemen, let me present Ted Trump, […]

Average Face : OpenCV ( C++ / Python ) Tutorial

$
0
0
In this tutorial we will learn how to create an average face using OpenCV ( C++ / Python ). Most people would agree that the woman in Figure 1 is pretty. Can you guess her ethnicity ? Why is her skin flawless ? Well, she is not real. She is not completely virtual either. Her […]

Speeding up Dlib’s Facial Landmark Detector

$
0
0
In this tutorial I will explore a few ways to speed up Dlib’s Facial Landmark Detector. Dlib’s Facial Landmark Detector Dlib has a very good implementation of a very fast facial landmark detector. I had reviewed it in my post titled Facial Landmark Detection. Subsequently, I wrote a series of posts that utilize Dlib’s facial […]

Head Pose Estimation using OpenCV and Dlib

$
0
0
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 […]

Automatic Red Eye Remover using OpenCV (C++ / Python)

$
0
0
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 […]

Eigenface using OpenCV (C++/Python)

$
0
0
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 […]
Viewing all 54 articles
Browse latest View live




Latest Images