Skip to content

rzuberi/Face_Alignment_HOG_CNN

Repository files navigation

Face alignment with a CNN extracting HOG features and realistically coloring the lips

About

This project defines, justifies and shows the results of a Convolutional Neural Network for face alignment, the task of outlining facial landmarks from the image of a face.

There is a PDF report here that discusses the solution defined.

There is a Python Notebook here that displays the data manipulation performed and the training of the CNN.

Face alignment task

1. Face alignment training and prediction methods

Screenshot 2022-11-18 at 15 08 03

The flowchart of going from our training data to evaluating our face alignment predictions model.

Screenshot 2022-11-18 at 14 51 44

Flowchart to get our model’s predicted points on any image (of a face).

2. Our CNN's architecture

Screenshot 2022-11-18 at 15 07 29

A diagram of our CNN’s layers.

3. Results of face alignment

Screenshot 2022-11-18 at 14 49 40

Plotting the 12 best and worst predictions made by our HOG-CNN model on our evaluation set with their Euclidean distance.

Lip coloring task

1. Lip coloring method

Screenshot 2022-11-18 at 15 09 35

A flowchart of the method we used to colour a face's lips using the predicted points from our HOG-CNN model and colour-mapping.

2. Results of lip coloring

Screenshot 2022-11-18 at 15 10 20

The best qualitative results from our lip colouring method using the HOG-CNN model’s predictions to find the lips.

Screenshot 2022-11-18 at 15 11 09

The worst qualitative results from our lip colouring method using the HOG-CNN’s predictions.

About

A Computer Vision research assignment to design a model to predict the coordinates of facial features (nose, eyes, mouth, etc.) from a dataset of images of faces.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors