A simple MATLAB script with a GUI that provides functionality to slightly tilt the pose of the head in a given image. Developed as a course project for EE604@IITK (Image Processing).
For an explanation of the procedure used, see Head Pose Changer - Presentation.pdf.
Facial landmark detection is performed using the MATLAB interface to dlib provided by this repository.
- Download the binaries for facial landmark detection and extract the contents to
path/to/project/find_face_landmarks/. You might have to copy the.dllfiles in thefind_face_landmarks/binfolder tofind_face_landmarks/interfaces/matlabfor MATLAB to be able to find them. Note that the binaries will only work on Windows. - Download the model file and extract it to
path/to/project/find_face_landmarks/models/. - Replace
test_images/001.jpgwith your own image. (Or change the MATLAB script to load the image from a custom location.) - Run
head_pose_changer.mand follow the on-screen instructions (read the figure titles). - The results should look like the demo shown in
Head Pose Changer - Demo.pdf.