World-space motionHuman mesh recoveryECCV 2024

TRAM: Global Trajectory and Motion of 3D Humans from in-the-wild Videos

Recovering world-space human motion by estimating the moving camera

Yufu Wang, Ziyun Wang, Lingjie Liu, Kostas Daniilidis

One-minute overview

The method treats camera motion and body motion as separate estimation problems. Masked DROID-SLAM recovers camera poses and relative scene depth. Predicted metric depth sets a common scale for the recovered camera track. A video transformer called VIMO reconstructs the body in camera coordinates, and the camera transforms place that body in a shared world frame.

Why this paper is included

TRAM measures how much camera recovery and metric scale contribute to global human motion accuracy, separately from local mesh reconstruction.

Problem, inputs and outputs

In handheld video, image displacement can result from the person moving, the camera moving, or both. If a large foreground person dominates the visible motion, the camera tracker can mistakenly explain that motion as a change in camera pose. Even a good relative camera trajectory leaves an unknown metric scale that must be reconciled with the body model.

Inputs

  • A monocular RGB video, a camera focal length for the SLAM setup, and person masks derived from the video.

Outputs

  • A metric-scale camera trajectory and an SMPL human motion sequence expressed in world coordinates.

Author figure

TRAM overview showing masked SLAM and scene depth for camera recovery, plus VIMO human motion transformed into a shared world frame.

Figure 2 · The authors’ Figure 2 connects dual-mask camera tracking and scene-based metric scaling to VIMO body tracking and world-space composition.

Figure credit · Yufu Wang, Ziyun Wang, Lingjie Liu, Kostas Daniilidis

Method pipeline

  1. Track the background

    Detect and segment people. Mask them in the input images and suppress correspondence weights at foreground pixels during dense bundle adjustment, so the camera branch primarily follows the static scene.

  2. Estimate a common metric scale

    Fit a scale between SLAM depth and ZoeDepth predictions for individual keyframes using robust least squares and discarding unreliable far-depth regions. Take the median across the keyframes and rescale the recovered camera track.

  3. Recover body motion and place it in the world

    VIMO adds temporal attention to frozen HMR 2.0 image tokens and uses a second temporal transformer over the predicted SMPL rotations. The recovered metric camera poses transform the per-frame body estimates into a common reference frame.

Key design choices

  • Mask at two points in camera tracking

    Masking images limits the influence of moving people on the correspondence network’s features. Masking dense bundle adjustment keeps foreground matches from pulling the optimized camera track toward the person’s motion.

  • Separate visual evidence from motion refinement

    One temporal transformer aggregates neighboring image features at corresponding token positions. The other operates directly on a sequence of SMPL poses. The ablation shows a stronger effect on smoothness from pose-space attention and a stronger effect on reconstruction accuracy from token attention.

Reading the experiments

Datasets and splits
EMDB subset 2 provides reference camera and human trajectories. EMDB subset 1 and 3DPW test local mesh reconstruction. VIMO training uses 3DPW, Human3.6M and BEDLAM.
Baselines
Camera experiments compare ORB-SLAM2, DROID-SLAM and masking or depth variants. Human trajectory results compare TRACE, GLAMR, SLAHMR and WHAM with DROID. The local VIMO ablation uses HMR 2.0 fine-tuned on the same data.
Metrics and units
Camera absolute trajectory error is reported with and without using the estimated metric scale in alignment. Human trajectory metrics include displacement-normalized root translation error and world joint error on fixed-length segments. Local pose and mesh scores use joint or vertex error and acceleration error.
Key results
On EMDB subset 2, Table 1 reports average camera trajectory error of 0.32 m with dual masking versus 2.42 m for DROID-SLAM under ground-truth-scale evaluation. Table 2 reports estimated-scale trajectory error of 0.66 m for robust scale fitting versus 3.09 m when predicted depth is passed directly to DROID. Table 3 reports human root translation error of 1.4 percent for TRAM versus 4.6 percent for WHAM with DROID.
Trade-offs
The camera comparisons distinguish a better relative track from an accurate metric track. The WHAM comparison has nearly identical Procrustes-aligned pose error but substantially different trajectory error, so local joint accuracy alone conceals much of the difference.

Limitations and applicability

  • Author-reported limitation

    The authors identify known focal length as a SLAM dependency and note that extreme focal lengths make depth estimation less reliable. They suggest joint camera and human refinement with physical priors to address foot sliding and penetration.

  • Editorial assessment

    The global body track inherits scale and drift errors from the camera branch. A median across keyframes can tolerate occasional poor depth estimates, while systematic depth bias or consistently weak background evidence can still affect the whole world-space track.

Sources and reading guide

The experiments are author-reported. The analysis labels editorial observations separately.