Homography Examples using OpenCV ( Python / C ++ )

The Tower of Babel, according to a mythical tale in the Bible, was humans’ first engineering disaster. The project had all the great qualities of having a clear mission, lots of man power, no time constraint and adequate technology ( bricks and mortar ). Yet it failed spectacularly because God confused the language of the… Read More »

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

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… Read More »

Facial Landmark Detection

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… Read More »

Computer Vision for Predicting Facial Attractiveness

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… Read More »

Image Alignment (ECC) in OpenCV ( C++ / Python )

The image on the left is part of a historic collection of photographs called the Prokudin-Gorskii collection. The image was taken by a Russian photographer in the early 1900s using one of the early color cameras. The color channels of the image are misaligned because of the mechanical nature of the camera. The image on the right… Read More »