Skip to content

rainarit/facial-landmarking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Facial Landmarking

Completed ✅

This is a Python script which utilizes the shape_predictor_81_face_landmarks.dat file to facially landmark 81 locations of our face. The dlib library is used to first detect the faces and the dat file is used for the landmarks.

An extra touch to the script was the use of counting how many blinks were made. This was done via the Ear-Aspect-Ratio(EAR) which makes use of the 6 coordinates surrounding the eyes. The following GIF gives a representation of the project.

Video Walkthrough

Installation

Requirements

The following software libraries/frameworks should be installed:

Installation Options

The libraries and frameworks displayed above could be installed in the following direction:

pip3 install 'framework/library'

Usage

  1. Download facial_landmarking.py.
  2. Download shape_predictor_81_face_landmarks.dat
  3. Go to your Python IDLE and insert: python3 facial_landmarking.py

About

Facial Landmarking: Facial Landmarks with an extra touch of Blink-Counting

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages