Face Alignment

Face Alignment using python

Input Image Aligned Face Aligned Face Aligned Face
model arch model arch model arch model arch
Input Image Aligned Face Input Image Aligned Face
model arch model arch model arch model arch

Installation

Install required packages

pip install -r requirements.txt

Inference

This code processes an image and output to a directory:

python3 align_image.py --input ./input/friends.jpg --output ./output

or run following command to align face image using imutils package:

python3 align_image_2.py --input ./input/friends.jpg --output ./output

GitHub

https://github.com/SajjadAemmi/Face-Alignment