Run blink_detect_dlib to detect the blinks with dlib library
This program detect the blinks. If there is no blink after 5 seconds, the screens is covered by a black theme for 3 seconds.
Require library: cv2, tkinter, cmake, dlib. Install the libraries by the following command: pip install opencv-contrib-python, (optional) pip install tkinter, pip install cmake, pip install dlib