Facial Landmarking: Facial Landmarks with an extra touch of Blink-Counting
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.
The following software libraries/frameworks should be installed:
pip3 install 'framework/library'
python3 facial_landmarking.py