Estimate whether the person is looking to the left
, right
or center
.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
git clone [email protected]:aaronpp65/gaze_estimation.git
Docker image for gaze estimation api is available at
sudo docker pull aaronpp65/gaze_estimation:v11
sudo docker run --name gaze_estimation -p 80:80 aaronpp65/gaze_estimation:v11
What things you need to install and how to install them
pip install requirements.txt
To callibrate the camera first take images of chessboard using your camera and copy it to calibration/imgs
folder. Then run the camera callibration file using the command
python calibration/calib.py
To perform gaze estimation on live video feed from your webcam, run
python main.py
To perform gaze estimation on a single image,
from modules.inf_image import ImageGaze
model = ImageGaze()
gaze = model.get_gaze(image_url)
Api for gaze estimation on a single image can be run using python api.py
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- Aaron Peter - Initial work - aaronpp65
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details