项目作者: by-sabbir

项目描述 :
Head Pose Estimation using OpenCV solving PNP.
高级语言: Python
项目地址: git://github.com/by-sabbir/HeadPoseEstimation.git
创建时间: 2020-06-20T11:49:22Z
项目社区:https://github.com/by-sabbir/HeadPoseEstimation

开源协议:

下载


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.

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

Usage

Get Pose From Image

  1. python head_pose_from_image.py -h

Get Pose From Webcame

  1. python head_pose_from_webcam.py -h
  2. #### For source 0 and focal length 1
  3. python head_pose_from_webcam.py -f 1 -s 0

3D model visualization

  1. python Visualize3DModel.py