Python:http://dlib.net/train_shape_predictor.py.html C++:http://dlib.net/ http://dlib.net/face_landmark_detection_ex.cpp.html