Skip to main content

Rotate an Facial Images

If you want to measure any facial landmarks correctly, you should rotate facial image which is not straight. The person who taken an photo may not stand straight. To avoid this situation, firstly we drew two lines throught eyes and nose. We rotate the image according to eye line. After that, we found the angle between two lines. This angle should be about 90 degrees for correct and straight face photos. If this angle is between 85-95 degrees, this photo can use to measuring and we rotate the image other but if it is not, the program gives an warning which is "This photo was rejected. Please take a photo again". So this method will give much more correct.

Taken image
Rotated image

As you can see, the program gave a warning because the photo taken has an incorrect angle.


Taken photo
Rotated and original photo

The program didn't give a warning. This photo is suitable.


Comments

Post a Comment

Popular posts from this blog

Creating a Database for Wide-Close-Normal Eyes

In this stage, we are trying to classify different eyes shapes. The most important thing in this classification is distance between of two eyes. For example, if the space between two eyes is smaller than the width of one eye, this is close set eye or if vice versa, this is wide set eye. For normal set eyes, we specified a tolerance value and tested over approx. a hundred images. Then, we classified these images which called wide-close- normal eyes. In next stage, we will try in our program each image and make a histogram to get a correct result for classification. For instance this is close set eyes. Normal Set Eyes Wide Set Eyes Close Set Eyes

New Method to Take an Correctly Images

To take a correct images are very important to get  good results.We have tested a lot of photos. We couldn't get correct result some photos to detect types of eyes. So, most important thing, it must be straight face pose when you take a photo. We are trying to avoid to take a picture with wrong angle.

Facial Landmarks Detection with DLIB Library

This week, my friend from my country started to do intership at University of Liverpool with me. Her name is Maksude Tuğçe Zile. We will work on a Project that involves measuring angles and distances between spesific landmarks in facial images. We will prefer to Python programming languages because my final Project was about opencv with python. We will try to place a point spesific landmarks in human's faces.(for instance we want to detect eye right outer and eye right inner etc. ) I am going to show how to detect eyes and eyebrows with opencv using dlib library. What is Facial Landmark Detection ? Facial Landmark Detection is a computer vision topic and it deals with the problem of detecting distinctive features in human faces automatically. Tip of the nose Corners of the eyes Corners of the eyebrows Corners of the mouth Eye pupils The detected landmarks are used in several different applications. How to install Dlib ? Dlib is a modern C++ toolkit containing machin...