Skip to main content

Posts

Showing posts from September, 2017

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.

Simple Eyes Classification

There are lots of multiple kind of eyes on people. We can`t understand which kind of eyes at first view. In this samples, we will show you how to detect type of eyes. Even if there are a lot of variable eyes, firstly we will try to simple classification. We will consider only 3 types of eyes which are CAT EYE, OVAL EYE, DROOPY EYE. We shouldn`t  try to low definition images to get accurate results. 1. CAT EYE 2. ROUND/OVAL EYE 3. DROOPY EYE

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.

Some Examples About Facial Landmark Detection

We have tried to some codes and got a good result. The hardest thing for us was to compile Dlib library. We spent a lot of time but its worth :) My result shown as follow: LEFT EYEBROW AND EYES BLACK SKİN

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...