Mini example to understand basics of pose estimation with OpenCV. Example based on the following blog post.
Image credits: Photo by Tatiana Zanon on Unsplash
Activate environment:
python -m venv env
source env/bin/activate
pip install -r requirements.txt
Run script: python headPoseCv2.py