Skip to content

yousefkhaled282/HeadPoseEstimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Head Pose Estimation using AFLW2000-3D Dataset

Introduction

This is a project for estimating the 2D head pose (pitch, yaw, and roll) of a person in an image using the AFLW2000-3D dataset. The AFLW2000-3D dataset contains 2000 faces with 21 3D landmarks per face. We used only the 2D images and their corresponding 3D landmark annotations to train a machine learning algorithm for predicting the head pose.

Requirements

  • Python 3.6 or later
  • NumPy
  • OpenCV
  • Scikit-learn
  • Scipy
  • pandas
  • mediapipe
  • matplotlib
  • seaborn

Dataset Preprocessing

We used the 3D landmarks provided by the AFLW2000-3D dataset to calculate the pitch, yaw, and roll angles. To prepare the data for training, we centered the 2D landmarks around the nose and normalized the distances to the top of head to have unit length.

Model Architecture

We used a support vector regression (SVR) model to predict the pitch, yaw, and roll angles. We used the radial basis function (RBF) kernel .

output

download

output

output2

About

ML 1 Project - ITI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published