Blink Detection of airplane pilots during takeoff and landing in flight simulator
Based off of this blog post by Adrian Roseblock:
https://www.pyimagesearch.com/2017/04/24/eye-blink-detection-opencv-python-dlib/
Installation Instructions (Windows 10):
- Download Anaconda
Config that worked for me:
Python 3.7 version
Install for all users
Choose installation directory as {ANYTHING}/Anaconda3
Update path manually - Connect to conda-forge channel
conda config --add channels conda-forge - Create new environment (default has too many conflicts) and activate it
conda create --name myenv
activate myenv - conda install dlib keras opencv scipy scikit-learn pandas
- Pip install imutils
- You should be good to go!
I like to run my python through Notepad++, to do this create run macro with
activate dlib_env && python -i "$(FULL_CURRENT_PATH)"