Skip to content

armandabiri/HeadPoseEstimation

 
 

Repository files navigation

Head Pose Estimation - OpenCV

In computer vision pose estimation specifically refers to the relative orientation of the object with respect to a camera. Pose estimation often referred to as a Perspective-n-Point problem or PNP problem in computer vision.


sample video credits

Installation

Using the package manager pip.

pip install -r requirements.txt
cd models
bash downloader.sh
cd ..

Usage

Get Pose From Image

python3 head_pose_from_image.py -h

Get Pose From Webcame

python3 head_pose_from_webcam.py -h

#### For source 0 and focal length 1
python3 head_pose_from_webcam.py -f 1 -s 4

3D model visualization

python3 Visualize3DModel.py

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Shell 0.7%