- You can install Conda for python which resolves all the dependencies for machine learning.
- You will need to install pynput library to perform keyboard operations
Use below command to install: pip install pynput
-
You will need shape_predictor_68_face_landmarks.dat file to detect 68-facial landmarks, I have included this file in repository.
-
Just run below command to play Dino on your eye blink and Have fun! : python detect_blinks.py --shape-predictor shape_predictor_68_face_landmarks.dat