-
Clone this repo.
-
Navigate to the cloned repo.
-
Ensure you are using Python version 3.8.
-
On Windows, follow these steps:
pip install cmake
- Install Visual Studio build tools from here.
- In Visual Studio 2017 go to the Individual Components tab, Visual C++ Tools for Cmake, and check the checkbox under the "Compilers, build tools and runtimes" section.
pip install numpy opencv_python dlib
-
In your console, type
python example.py
.
- If your camera hangs between instances of running study-focus this will cause cv2 to error. Make sure your camera is detached from the previous study-focus instance
- Don't click Enter too many times or too quickly
Created for Manchester GreatUniHack with faridz and zoya