This is a Flask application that performs real-time face detection and gaze tracking using OpenCV, dlib, and Flask. It streams the webcam feed to a web interface while detecting faces and displaying their landmarks.
- Python 3.x
- OpenCV (
pip install opencv-python
) - Flask (
pip install flask
) - dlib (requires CMake and Visual Studio C++ tools)
To install dlib, you'll need to have CMake and Visual Studio C++ tools installed on your system.
Once you have CMake and Visual Studio C++ tools installed, you can install dlib using pip:
pip install dlib
- Clone this repository to your local machine.
- Navigate to the directory where you cloned the repository.
- Run the Flask application by executing the following command:
python app.py