ibarakaiev / face-recognition-pipeline

Face recognition visualization using OpenCV and dlib.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Face Recognition Pipeline

Face recognition and segmentation in Python using OpenCV and dlib.

This script generates images that depict major intermediate steps that occur during the execution of the face detection algorithm. Finally, it displays the original picture with the facial landmarks found.

Finding facial landmarks has a huge range of potential applications. Some of them include Snapchat filters or face identification.

Example Pipeline

Step 1 (Original Image)

alt

Step 2 (Grayscale)

alt

Step 3 (Histogram of Oriented Gradients)

alt

Step 4 (Face Detection on the Histogram of Oriented Gradients)

alt

Step 5 (Face Landmarks Alignment)

alt

Note

This repository was inspired by Machine Learning is Fun! Part 4: Modern Face Recognition with Deep Learning.

Contact

ibarakaiev@gmail.com

About

Face recognition visualization using OpenCV and dlib.


Languages

Language:Python 100.0%