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

First Day in University of Liverpool

The morning of my first day at University of Liverpool. It wasn`t very hard to find this university, because my place that I stay is very near. I was so excited to meet Dr. Waleed. He supported me to come here. Firstly, He introduced me the university. Then we went to laboratories that I will work in. He introduced me other students, Joel,Elisha & Matt. They are very kindly and friendly. This lab a bit larger than my home university`s labs. There are a lot of electronic components that I can use. I would like to study here. I may be do master, why not? This lab has excellent dedicates  facilities for researcher. I`m going to work on image processing to track fish actions. I will try to develop smart app with my team. I hope it will be perfect experience for me.  This week will be good opportunity to get used to here and getting know other students.

How to install virtual machine?

How can you develop iOS apps on a Windows PC? The short answer is… you can’t!We need to have an iMac or Macbook to develop iOS applications. Hovewer, There are plenty of options to get around that. The problem is Xcode, the Integrated Development Environment (IDE) you use to design, develop and publish iOS apps. Xcode includes the Swift compiler, Interface Builder, and tools to upload your app to the App Store. Xcode contains everything you need to build iOS apps, and it only runs on Mac OS X. It is not rational to buy a new MacBook for beginner level programmer. There are already a few iMacs in the labs. I can use one of these if I need to. Now let's come up with how to develop the application on windows. The easiest way to develop iOS apps on a Windows PC is by making use of a virtual machine. A virtual machine will create an environment an operating system can run in, as if it’s running on the hardware itself. Firstly, I've downloaded MacOS iso file  here . A...