It is a Python script that able to mark human face's and draw lines on it. And program can detect human's mouth is open or close, human's eye is open or close and detect is human smiling or not. With this, you can develop face recognition algorithms.
You just need shape_predictor_68_face_landmarks.dat . dlib needs this.
If you downloaded shape_predictor_68_face_landmarks.dat, you can start. If you want to try on images, you must type path of image folder to 'PATH' variable on line 364 and mark 'on_cam()' as a comment line on line 419. But if you want to try on your webcam, you must mark 'on_path(PATH)' as a comment line on line 418. Then you are ready to start!
If you have any question, don't shame to ask.