Mirror-Aware Neural Humans

Daniel Ajisafe, James Tang, Shih-Yang Su, Bastian Wandt, Helge Rhodin

TL;DR

"Mirror-Aware Neural Humans" introduces a method to reconstruct high-fidelity 3D human pose, shape, and appearance from a single video recorded in front of a mirror. By treating the mirror as a "free" second camera and extending Articulated Neural Radiance Fields (NeRF) to handle reflections and occlusions, the authors achieve multi-view reconstruction accuracy using only consumer-grade hardware and off-the-shelf 2D pose detectors.

What Problem Does This Paper Address?

Capturing detailed 3D human motion usually requires expensive multi-camera setups that are tedious to synchronize and calibrate. While single-camera (monocular) methods exist, they suffer from "depth ambiguity"—it’s hard for a computer to tell if an arm is moving toward the camera or just looks smaller because of its pose.

Mirrors are ubiquitous in gyms, dance studios, and urban environments, offering a second viewpoint for free. However, using them for 3D reconstruction isn't straightforward. You have to:

  1. Calibrate the setup: Determine where the mirror is and how the camera is oriented relative to it.
  2. Associate views: Correctly identify which 2D detections belong to the real person versus the reflection.
  3. Handle occlusions: Manage cases where the real person physically blocks the camera's view of their own reflection.

Methods

The authors propose a three-step pipeline that moves from sparse 2D detections to a dense, animatable 3D model.

1. Camera and Mirror Initialization

The system starts with a video and standard 2D pose detections. It automatically estimates the camera's focal length and the ground plane. Crucially, it distinguishes the real person from the reflection by comparing the "neck-to-pelvis" distance; the reflection is further away and thus appears smaller.

2. 2D to 3D Pose Lifting

The mirror is modeled as a virtual camera positioned behind the mirror plane. The system optimizes a 3D skeleton (joint rotations and bone lengths) so that its projections match the 2D detections in both the real and virtual views simultaneously. This geometric optimization provides a robust starting point for the neural model.

Figure 2. Models for the mirror reflection. In the first case, the rays go from the real camera c up to the mirror plane π intersecting at location s, then to the real person p after a mirror reflection. In the second case, the real person p is viewed from a virtual camera ¯c forming a virtual image. In the third case, the person location is mirrored to ¯p and light rays go straight from camera c to ¯p.

3. Mirror-Aware Neural Rendering

The core innovation is a "mirror-aware" extension of Articulated NeRFs. Standard NeRFs struggle when a person overlaps with their reflection. The authors solve this using a layered representation:

  • They render the real person and the mirror image as separate layers.
  • They use a back-to-front composition (Real $\rightarrow$ Mirror $\rightarrow$ Background). Because the light path for a reflection is always longer than the direct path, the real person always occludes the reflection.
  • To improve efficiency, they detect occlusion zones using 3D bounding boxes and specifically sample rays in those intersection areas to resolve fine details.
Figure 3. The full pipeline: from 2D detections to a refined 3D skeleton and a dense neural body model.

Datasets

  • MirrorHuman-eval: A benchmark dataset featuring complex dancing in front of a large mirror, captured with a multi-camera rig for ground-truth comparison.
  • Internet Videos: Dancing clips sourced from the web to test real-world robustness.
  • New Diverse Sequence: A dataset recorded by the authors featuring diverse clothing (loose items), appearances (beards), and casual everyday motions to demonstrate the system's generality.

Key Insights and Ideas

  • The Mirror as a Symmetry Constraint: By enforcing that the 3D pose must project correctly to both the real and reflected 2D views, the system drastically reduces depth ambiguity without needing any 3D training labels.
  • Layered Occlusion Handling: Instead of trying to learn occlusions implicitly (which is data-hungry), the authors bake the physical reality of mirrors—that the reflection is always "behind" the real object—directly into the rendering math.
  • Sample Efficiency: By focusing neural sampling on the intersection regions where the person and reflection overlap, the model learns faster and produces sharper results in challenging areas like elbows and hands.

Key Results

The method significantly outperforms baselines that do not account for the mirror (like standard A-NeRF or DANBO).

  • Pose Accuracy: On the MirrorHuman-eval dataset, the method improved 3D pose accuracy (PA-MPJPE) by over 20% compared to A-NeRF (reducing error from 84.72mm to 62.44mm).
  • Image Quality: The "Mirror DANBO" variant achieved a PSNR of 31.87 dB, a significant jump over the standard DANBO's 28.97 dB. This translates to much clearer reconstructions of fine details, such as earphones or clothing folds.
Figure 1. Pose refinement and image quality. Given an im- age with mirror (top left) our mirror-based method reconstructs 3D pose and shape that is more accurate than the baselines (A- NeRF [42] and DANBO [43]) not supporting the mirror, both in terms of the 3D pose metric PA-MPJPE (top row, e.g., corrected arms), and in image quality PSNR (bottom row, e.g., reconstructed earphone and left elbow).

Limitations and Future Work

  • Visibility Requirements: The system requires the mirror image to be visible for most of the video. If the camera is placed too parallel or orthogonal to the mirror, the geometry becomes degenerate and reconstruction fails.
  • Calibration Sensitivity: The initial steps rely on a "constant height" assumption for ground plane estimation, which can be thrown off by bystanders of different heights.
  • Future Directions: The authors suggest adapting these techniques for animal motion capture and low-cost medical applications, such as home-based physical rehabilitation monitoring.

Summary updated

BibTeX
@inproceedings{ajisafe2024mirror,
  author = {Daniel Ajisafe and James Tang and Shih-Yang Su and Bastian Wandt and Helge Rhodin},
  title = {{Mirror-Aware Neural Humans}},
  booktitle = {3DV},
  year = {2024},
  url = {https://openreview.net/forum?id=99cc7OnfAH},
}

Loading related content...

Figure