Skip to content

vaibhavhariramani/Facial-Landmarks-Detection-with-DLIB

Repository files navigation

Facial Landmark Detection

Facial Landmarks Detection with DLIB

Detects the face landmarks such as nose, eyes, etc. using just Python, OpenCV and dlib

Amazing and easy face landmarks detector with dlib library.

Overview

In this we will find the facial landmarks, such as eyes, nose, mouth, ears, jaw-line using the popular dlib library

for further information checkout my blog: Facial landmarks with dlib, OpenCV, and Python. 68 coordinates are detected for the given face by the face detector. The image is shown below. ![Face landmarks coordinates image] Alt

Requirements:

dlib, cv, imutils

Link:

https://sites.google.com/view/geeky-traveller/computer-vision/facial-landmarks-detection

Run:

Download the detector model here

Dependencies

You also need shape detector, you can download it by

wget http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2

Commands to run the detection:

python facial_landmarks_mine.py --shape-predictor shape_predictor_68_face_landmarks.dat --image images/example_01.jpg
$ python facial_landmarks.py --shape-predictor shape_predictor_68_face_landmarks.dat --image <imagefilename>

If you wish to output individual detections for facial landmarks (mouth, eyes, nose, jaw, left and right eyebrows):

$ python facial_landmarks.py --shape-predictor shape_predictor_68_face_landmarks.dat --image <imagefilename> --draw

Results:

The results are awesome. We can see pretty accurate face landmark detections.

Input Output

Example input 1 Example output 1

InputOutput

Example input 2 Example output 2

Resources

To learn more about these Resources you can Refer to some of these articles written by Me:-

https://sites.google.com/view/geeky-traveller/computer-vision/facial-landmarks-detection

Don't forget to tag us

if you use this repo in your project don't forget to mention us as Contributer in it . And Don't forget to tag us Linkedin, instagram, facebook , twitter, Github

============================================================================

Made with ❤️by Vaibhav Hariramani

About me

I am a Machine Learning enthusiast, an Actions on Google Developer, Internet of things, Alexa Skills, and Image processing developer. I have a keen interest in Image processing and Andriod development. I am Currently studying at Chandigarh University, Punjab.

My PortFolio You can find me at:- Linkedin or Github .

Email: [email protected]

              

The Vaibhav Hariramani App (Latest Version)

Download THE VAIBHAV HARIRAMANI APP consist of Tutorials,Projects,Blogs and Vlogs of our Site developed Using Android Studio with Web View try installing it in your android device.

Happy coding ❤️ .

Follow me

Linkedin Badge Instagram Badge Twitter Badge GitHub Badge Gmail Badge Medium Badge

About

Facial Landmark Detection Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages