Download dlib from http://dlib.net/ Install OpenCV. Needs the shape predictor file from http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2 Clone this repo inside the dlib folder. Then use cmake to build.
A modified implementation of http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=7478592
#Results
The application could correctly detect and classify head poses using a webcam video feed at about 11 fps.
Images attached.
#TODO Add detailed explanation