From Depth Data to Head Pose Estimation: a Siamese approach

Marco Venturelli, Guido Borghi, Roberto Vezzani, Rita Cucchiara

Abstract

Monitoring driver attention is a critical component of modern automotive safety systems. This paper introduces a deep learning framework for real-time head pose estimation using only depth maps. By employing a Siamese network architecture during training and a novel loss function that penalizes inconsistencies between image pairs, the proposed method achieves state-of-the-art accuracy and high-speed performance (100 FPS). The system is designed to be robust against the dramatic lighting variations typical of vehicle cockpits.

Introduction

Driver distraction contributes to nearly 30% of road fatalities. Head pose estimation, which tracks the pitch, roll, and yaw of the head, serves as a vital proxy for monitoring driver attention. Traditional computer vision methods for this task typically rely on RGB images and visual landmarks. However, these systems often struggle in automotive environments due to extreme lighting changes, shadows, and occlusions.

Depth sensors offer a robust alternative as they are light-invariant. Despite this advantage, depth data is often noisy and lacks the rich texture information found in RGB images. This work addresses these challenges by proposing a light-invariant, non-invasive, and computationally efficient system suitable for real-time automotive deployment.

Methodology

The core of the proposed framework is a Convolutional Neural Network (CNN) designed for regression, predicting continuous Euler angles for head orientation.

Siamese Training Strategy

The primary innovation lies in the use of a Siamese architecture during the training phase. Unlike standard training, which processes single images in isolation, this approach feeds pairs of images into two identical network branches.

A novel "Siamese match" loss function ($L_{siam}$) is introduced to calculate the difference between the predicted poses of the two images and compare it to the difference in their ground truth poses. By forcing the network to learn the relationship between different poses (e.g., identifying that one head is rotated 30 degrees further than another), the model develops more robust and discriminative features. During inference, the Siamese branches are discarded, and a single network is used to maintain high processing speeds.

Preprocessing and Normalization

To account for varying distances between the subject and the sensor, a dynamic cropping window is employed. The crop size is calculated based on the distance ($Z$) from the sensor, ensuring the head occupies a consistent 64x64 pixel area.

Overview of depth map processing and 3D face reconstruction, showing (a-b) depth normalization, (c, e) landmark detection, and (f) the final 3D model.

Experimental Evaluation

The framework was evaluated on two public benchmarks:

  1. Biwi Kinect Head Pose Database: A gold-standard dataset containing 15,000 frames of 20 subjects.
  2. ICT-3DHP Database: A challenging dataset of 14,000 frames where ground truth was collected via a mechanical tracker, often requiring subjects to wear caps that interfere with depth readings.

Results and Discussion

The "Our+Siamese" model demonstrated superior performance on the Biwi dataset, achieving a Mean Average Error (MAE) of 2.3° for Pitch, 2.1° for Roll, and 2.8° for Yaw. These results outperform previous state-of-the-art methods, including those utilizing complex geometric features or multi-modal RGB-D data.

The system is highly efficient, processing frames in approximately 10ms (100 FPS) on an NVIDIA Quadro K2200 GPU. Even on standard CPU hardware, it maintains a viable rate of 21 FPS. Ablation studies confirmed that the Siamese training strategy significantly improved accuracy across all three axes compared to standard CNN training.

Conclusion

This work demonstrates that relational learning via Siamese networks can significantly enhance regression tasks like head pose estimation. While the current system assumes prior head localization, future work will focus on integrating automated face detection and incorporating temporal coherence to reduce prediction jitter. The use of depth data ensures the system remains functional across all lighting conditions, providing a reliable solution for driver safety monitoring.

Summary updated

BibTeX
@inproceedings{venturelli2017from,
  author = {Marco Venturelli and Guido Borghi and Roberto Vezzani and Rita Cucchiara},
  title = {{From Depth Data to Head Pose Estimation: a Siamese approach}},
  booktitle = {VISIGRAPP (5: VISAPP)},
  year = {2017},
  doi = {10.5220/0006104501940201},
}
Figure