Predict head angles along three axes (yaw, pitch and role), using OpenCV and Mediapipe face mesh.
Install prerequisites.
pip install -r requirements.txt
Run the estimator script to predict head poses from webcam video.
python3 estimator.py
Please see the following blog post for more details about this code: