Skip to main content

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 machine learning algorithms and tools for creating complex software in C++ to solve real world problems.

We will use python programming language on Windows. To compile Dlib on Windows could be difficult. I have used steps shown as follow:

Step 1: Install Visual Studio 2015
Step 2: Install CMake v3.8.2
Step 3: Install Anaconda 3
Step 4: Download Dlib
Step 5: Build Dlib library
Step 6: Build Dlib examples
Step 7: Install Dlib’s Python modüle

For more details, you can visit this tutorial.






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