Fork from Eye Blink detection using OpenCV, Python, and Dlib.
This project use pyenv & pipenv.
Setup with next script.
pyenv local && pipenv install
And then, run like this.
# If live video
pipenv run python main.py --shape-predictor shape_predictor_68_face_landmarks.dat
# If video file
pypenv run python main.py --shape-predictor shape_predictor_68_face_landmarks.dat --video <CUSTOM_VIDEO_PATH>
shape_predictor_68_face_landmarks.dat
can be download from dlib.net or sourceforge.