Abstract
Reconstructing 3D human motion from monocular, "in-the-wild" videos remains a significant challenge due to the inherent ambiguity between camera movement and human movement. Most existing 3D Human Mesh Recovery (HMR) systems operate within a camera-centric coordinate frame, failing to localize the subject within a global world space. We present TRAM (Global TRAjectory and Motion), a two-stage framework that robustly disentangles these movements by leveraging scene background cues for metric scaling. By shifting the focus from human motion priors to environmental context, TRAM achieves a 60% reduction in global trajectory error compared to previous state-of-the-art methods.
Introduction
In the field of computer vision, 3D Human Mesh Recovery (HMR) has seen rapid progress, yet most models remain limited to the camera's perspective. When a camera moves—whether handheld, mounted on a vehicle, or following a subject—the resulting 3D reconstruction often lacks a fixed reference point in the world. This limitation hinders applications in augmented reality, autonomous navigation, and sports analysis, where knowing a person's absolute position is critical.
Previous attempts to solve this "world-space" localization problem have relied heavily on human motion priors—statistical models of how humans typically move (e.g., walking or running). However, these priors often collapse when encountering complex, non-standard movements such as parkour, skateboarding, or navigating uneven terrain. TRAM addresses this by treating the environment, rather than the human gait, as the primary source of spatial truth.
The TRAM Framework
TRAM utilizes a decoupled approach to reconstruct human motion in world coordinates, separating the estimation of camera trajectory from the estimation of human pose.
1. Camera Trajectory and Metric Scaling
To track the camera's movement, TRAM employs a modified version of DROID-SLAM. Standard SLAM (Simultaneous Localization and Mapping) algorithms often struggle in human-centric videos because the moving subject occupies a large portion of the frame, violating the "static world" assumption. TRAM overcomes this through a dual-masking procedure:
- Segmentation: Using YOLOv7 and Segment Anything (SAM), the system identifies and masks out the human subject.
- Bundle Adjustment: The SLAM algorithm is forced to focus exclusively on the static background, ensuring that the recovered camera trajectory is not distorted by the subject's movement.
Because monocular SLAM can only recover motion up to an arbitrary scale, TRAM integrates ZoeDepth, a metric depth prediction network. By aligning the SLAM output with real-world metric depth using a robust German-McClure loss function, the system determines a consistent scaling factor for the entire video sequence, effectively turning the background into a "metric ruler."
2. VIMO: Video Transformer for Human Motion
While the camera trajectory is established, the human's pose is captured by VIMO (Video Transformer for Human Motion). VIMO builds upon the high-capacity ViT-Huge backbone of HMR2.0 but introduces two critical temporal transformer layers:
- Spatial-Temporal Encoding: Propagates information across image patches over time to maintain consistency during motion blur or partial occlusions.
- Pose Refinement: Operates on the sequence of predicted 3D poses to ensure that the final motion is smooth and physically plausible.
Experimental Validation
The researchers evaluated TRAM against several benchmarks, most notably the EMDB (Electromagnetic Database). Unlike many datasets that only provide relative pose, EMDB uses wearable sensors to provide ground truth for both body pose and global world-space trajectory. They also utilized the 3DPW and BEDLAM datasets to verify mesh accuracy.
Key Results
- Trajectory Accuracy: TRAM demonstrated a 60% reduction in Root Translation Error (RTE) on the EMDB dataset compared to WHAM, the previous state-of-the-art. This highlights the superiority of scene-based scaling over motion-prior-based estimation.
- Mesh Accuracy: On the 3DPW benchmark, VIMO achieved a Procrustes-aligned Mean Per-Joint Error (PA-MPJPE) of 35.6mm, outperforming both per-frame and existing temporal models.
- Robustness: Qualitative testing showed that TRAM remains stable in "out-of-distribution" scenarios—such as climbing steep stairs or skateboarding—where traditional methods often suffer from "foot slide" or trajectory divergence.
Discussion and Limitations
The success of TRAM lies in its disentanglement strategy. By treating camera tracking and human pose as separate sub-problems, the system prevents errors in pose estimation from polluting the global trajectory. Furthermore, using the background for scaling provides a more reliable semantic cue than the human body, which varies significantly in size and gait.
However, the framework currently has limitations. It requires known camera focal lengths, which may not be available for all "in-the-wild" footage. Additionally, while the metric scaling is robust, it remains sensitive to noise in depth networks when dealing with extreme focal lengths or distant backgrounds. Future work may involve a joint optimization step that incorporates physics-based constraints to further eliminate artifacts like floor penetration.
Conclusion
TRAM represents a significant step forward in bringing 3D human reconstruction out of the camera frame and into the real world. By leveraging the stability of the environment and the power of temporal transformers, it provides a robust solution for tracking complex human motion in virtually any setting.
Summary updated