Abstract: We propose an image-based, facial reenactment system that replaces the face of an actor in an existing target video with the face of a user from a source video, while preserving the original target performance. Our system is fully automatic and does not require a database of source expressions. Instead, it is able to produce convincing reenactment results from a short source video captured with an off-the-shelf camera, such as a webcam, where the user performs arbitrary facial gestures. Our reenactment pipeline is conceived as part image retrieval and part face transfer: The image retrieval is based on temporal clustering of target frames and a novel image matching metric that combines appearance and motion to select candidate frames from the source video, while the face transfer uses a 2D warping strategy that preserves the user's identity. Our system excels in simplicity as it does not rely on a 3D face model, it is robust under head motion and does not require the source and target performance to be similar. We show convincing reenactment results for videos that we recorded ourselves and for low-quality footage taken from the Internet.
Introduction
Facial reenactment—the process of replacing an actor's face in a video with another person's while keeping the original performance (expressions, timing, and head motion) intact—is a classic challenge in computer vision. Historically, this required either computationally expensive 3D Morphable Models (3DMMs) or extensive manual frame-by-frame adjustments. This paper introduces a system that is entirely image-based and fully automatic, capable of handling various head poses and expressions without a 3D model while maintaining temporal consistency.
Methodology
The proposed pipeline consists of three main stages: tracking, matching, and transfer.
Non-Rigid Face Tracking
The system tracks 66 facial landmarks (eyes, nose, mouth, jawline) using a Constrained Local Model (CLM). To handle noise, these landmarks are refined using optical flow between automatically selected keyframes.
Face Matching (Image Retrieval)
Instead of generating new expressions, the system searches the source video to find the best matching frame for each segment of the target video.
- Temporal Clustering: To prevent jitter, the target video is grouped into "chunks" of similar expressions.
- Novel Metric: Frames are matched based on a combination of appearance (using Local Binary Patterns) and motion (how landmarks move relative to the previous cluster), ensuring natural transitions.
Face Transfer and Compositing
- 2D Warping: A hybrid warping energy function balances matching the actor's expression (non-rigid warping) with preserving the user’s actual face shape and identity (affine warping).
- Seamless Cloning: The face is blended into the target video using Poisson cloning in a perception-based color space to ensure skin tones match the target environment's lighting.
Experiments and Results
The system was evaluated using high-quality studio footage and low-quality Internet videos, such as footage of Barack Obama. Source material typically consisted of short, 10-second webcam clips of users making arbitrary facial expressions.
Key Insights
- Motion Matters: Including a motion similarity term is critical for temporal coherence. In user studies, removing this metric caused realism scores to drop from 3.25/5 to 1.48/5.
- Clustering for Stability: Treating the target video as a sequence of clusters rather than individual frames avoids the "jumping" effect common in retrieval-based methods.
- Identity Preservation: The hybrid warping approach ensures the user still looks like themselves while mimicking the actor’s pose, even with different head shapes.
Discussion and Limitations
While effective, the system assumes relatively constant lighting; localized shadows can cause color bleeding artifacts during blending. Occasionally, inconsistencies in the mouth region can lead to "ghosting" where the original actor's features peek through. The quality is also limited by the variety of expressions in the short source video. Future work may involve driving the mouth separately to improve speech synchronization and reduce artifacts.
Summary updated