GazeDirector: Fully Articulated Eye Gaze Redirection in Video

Erroll Wood, Tadas Baltrusaitis, Louis-Philippe Morency, Peter Robinson, Andreas Bulling

Introduction

GazeDirector is a model-based approach for redirecting eye gaze in video without requiring person-specific training data. By fitting a 3D morphable model to the eye region and using a hybrid approach of image warping for eyelids and 3D rendering for eyeballs, it achieves realistic results even for large redirection angles that typically break traditional methods.

The Challenge of Gaze Correction

Whether it’s a group photo where one person is looking away or a video call where the participants aren't looking directly at their cameras, "gaze correction" is a common challenge in computer vision.

Gaze correction is often needed in group photos where subjects look in different directions.

Existing solutions generally fall into two camps, both with significant flaws:

  1. Warping-based methods: These use neural networks to "stretch" original pixels. While they don't need special training, they fail at large angles because they can't synthesize parts of the eye originally hidden by the eyelids, leading to "smudging" artifacts.
  2. Eye-replacement methods: These swap the original eyes with pre-captured images of the same person. While realistic, they require a "calibration" session for every user, making them impractical for general use.

GazeDirector aims to provide the best of both worlds: a person-independent system that can precisely redirect gaze in any 3D direction without visual artifacts.

The GazeDirector Approach

The authors propose a two-stage pipeline based on analysis-by-synthesis.

Stage 1: Eye Region Tracking

Instead of just detecting landmarks, the system fits a 3D Morphable Model (3DMM) of the eye region to the video frame. This model is parameterized by shape, texture, pose, and illumination. The system iteratively renders a synthetic eye and compares it to the input image, adjusting the 3D parameters until the difference between the two is minimized. This is accelerated using GPU-based optimization to reach interactive speeds.

Stage 2: Gaze Redirection

Once the 3D geometry is recovered, the system redirects the gaze using a hybrid technique:

  1. Eyelid Warping: To keep the skin texture looking natural, the eyelids from the original image are warped using an optical flow field derived from the 3D model. This ensures the eyelids move realistically as the gaze shifts.
  2. Eyeball Synthesis: Because warping can't create new pixels for a rotating eyeball, the system renders a completely new 3D eyeball based on the recovered texture and the new desired gaze direction. This synthetic eyeball is then composited back into the warped eyelid region.
The GazeDirector pipeline: from input image to 3D model fitting, and finally to a grid of redirected gazes across various pitch and yaw angles.

Key Insights and Results

  • Decoupling Eyeballs and Face: GazeDirector treats eyeballs and eyelids as separate articulated parts, allowing the eyeball to rotate independently while the eyelids follow procedurally—just like a real human eye.
  • Solving the Occlusion Problem: By rendering a 3D eyeball rather than just warping original pixels, the system can "hallucinate" the parts of the white of the eye (sclera) that move into view during a large rotation.
  • Quantitative Performance: The system achieved a gaze yaw error of only 3.13° on the Columbia Gaze Dataset, outperforming previous specialized methods. Qualitative comparisons show that while warping-based methods produce significant blurring at redirection angles of 30°–45°, GazeDirector remains sharp and anatomically plausible.
  • Efficiency: The redirection stage is highly efficient, running at 80 frames per second (fps) on a standard desktop, making the overall system viable for near-real-time applications.

Limitations and Future Work

The current model doesn't explicitly account for complex expressions like squinting or fine details like eyelashes. Future work includes integrating this 3D model-fitting approach with deep learning (e.g., using a CNN to predict initial model parameters) to further increase the speed and robustness of the tracking stage.

Summary updated

BibTeX
@article{wood2018gazedirector,
  author = {Erroll Wood and Tadas Baltrusaitis and Louis-Philippe Morency and Peter Robinson and Andreas Bulling},
  title = {{GazeDirector: Fully Articulated Eye Gaze Redirection in Video}},
  journal = {Computer Graphics Forum},
  year = {2018},
  doi = {10.1111/cgf.13355},
}
Figure