Detecting People Looking at Each Other in Videos.

Manuel Jesús Marín-Jiménez, Andrew Zisserman, Marcin Eichner, Vittorio FerrariIJCV 2014

Abstract

The objective of this work is to determine if people are interacting in TV video by detecting whether they are looking at each other or not. We determine both the temporal period of the interaction and also spatially localize the relevant people. We make the following four contributions: (i) head detection with implicit coarse pose information (front, profile, back); (ii) continuous head pose estimation in unconstrained scenarios (TV video) using Gaussian process regression; (iii) propose and evaluate several methods for assessing whether and when pairs of people are looking at each other in a video shot; and (iv) introduce new ground truth annotation for this task, extending the TV human interactions dataset (Patron-Perez et al. 2010). The performance of the methods is evaluated on this dataset, which consists of 300 video clips extracted from TV shows. Despite the variety and difficulty of this video material, our best method obtains an average precision of 87.6 % in a fully automatic manner.

Introduction

In film and social interaction, "eyelines" are fundamental. Directors use the 180-degree rule to ensure that when two characters talk, their gaze appears to meet on screen. For computer vision, detecting this mutual gaze—termed "Looking At Each Other" (LAEO)—is a gateway to understanding complex human behavior. However, it is notoriously difficult in "wild" video due to diverse actors, varying lighting, background clutter, and rapid camera movements.

Mutual gaze (LAEO) in a cinematic context.

This paper introduces an automated pipeline for detecting LAEO in unconstrained video, such as TV shows and movies. Unlike prior work that relied on discrete head poses or fixed camera setups, this approach combines robust head tracking with continuous pose estimation to determine not just if people are in a scene, but when and where they are actually interacting.

Methodology

The proposed pipeline consists of four stages:

  1. Detection and Tracking: Upper bodies are detected first to handle clutter, followed by head detection within those regions. Detections are linked into tracks using location, appearance, and KLT point tracks to maintain continuity through occlusions.
  2. Continuous Pose Estimation: Gaussian Process (GP) regression is applied to Histogram of Oriented Gradients (HOG) features from head patches to predict continuous yaw and pitch angles. The GP model also provides an uncertainty estimate ($\sigma$), allowing the system to downweight unreliable frames (e.g., blurry or turned-away faces).
  3. LAEO Scoring: Three methods are compared: 2D intersection of gaze rectangles, 2D geometric constraints, and a sophisticated 3D geometric approach. The 3D method uses 2D head height as a proxy for depth (a "2.5D" space) and models gaze as 3D cones.
  4. Temporal Smoothing: Scores are averaged over a sliding window to filter out accidental alignments.

A key innovation is the inclusion of a "back-view" head detector. In many TV conversations, the camera captures one character's face and the back of the other's head; ignoring the latter would miss a significant portion of interactions.

Experimental Evaluation

The system was benchmarked on the TV Human Interactions Dataset (TVHID), which the authors extended with new ground-truth annotations for LAEO across 443 video shots.

Complex social scenes in TV shows like Friends used for benchmarking.

The experiments demonstrated that the 3D geometric approach consistently outperformed 2D methods, achieving a fully automatic Average Precision (AP) of 87.6%. The "2.5D" depth estimation allowed the system to resolve spatial ambiguities that typically confuse purely 2D systems, particularly when characters are at different distances from the camera.

Conclusion

This work demonstrates that robust LAEO detection is possible in unconstrained TV content by leveraging continuous pose estimation and spatial reasoning. The use of uncertainty as a feature and head size as a depth proxy are critical for handling "the wild." Future improvements could address the "adult-child" problem, where varying physical head sizes break the depth proxy, and explore machine learning classifiers to replace hand-crafted geometric rules.

Summary updated

BibTeX
@article{marinjimenez2014detecting,
  author = {Manuel Jesús Marín-Jiménez and Andrew Zisserman and Marcin Eichner and Vittorio Ferrari},
  title = {{Detecting People Looking at Each Other in Videos.}},
  journal = {International Journal of Computer Vision2014},
  year = {2014},
  url = {https://openreview.net/forum?id=BsW40-PeupH},
}
Figure