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

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.

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
This my second day in this university. Today, we went to science center with Dr.Waleed in the campus center. Waleed showed me fish eggs. I will develop smart app that can counting fish eggs. I am gonna use IOS platform this application. It is impossible to devolop an app witout Mac computer. I haven't got a Mac but will setup MacOS on Windows via virtual machine. Actually I have never worked with IOS platform but I will try it.