This program uses
1.OpenCV
2.dlib for Facial Landmark prediction
To run simply type 'python opencv_blink_detect.py -p sp.dat' in your Terminal/Command Promp
Here sp.dat is the pre-trained Facial Landmark Predictor
While the Program is running you can:
-Hit Esc on the keyboard to Exit
-Hit R on the Keyboard to Reset the Blink Count
-Doesn't Work too well with glasses
-If eyes are closed for a long period of time, the blink count keeps increasing