Human mesh recoveryWorld-space motionECCV 2024

COIN: Control-Inpainting Diffusion Prior for Human and Camera Motion Estimation

COIN separates human and camera motion in monocular video

Jiefeng Li, Ye Yuan, Davis Rempe, Haotian Zhang, Pavlo Molchanov, Cewu Lu, Jan Kautz, Umar Iqbal

One-minute overview

COIN initializes camera-space SMPL with HybrIK and camera motion with DROID-SLAM. It uses successive estimates of the body track to condition a motion diffusion model, then refines the body track, shape, camera poses and scale using denoised motions and cues from the video.

Why this paper is included

In a handheld clip, an apparent change in the person’s position can come from the person, the camera or both. A motion prior helps rule out implausible body tracks. The persistent scene supplies an additional constraint on where the camera and person can be.

Problem, inputs and outputs

Monocular SLAM gives camera translations up to an unknown scale. Transforming estimated body poses into world space with the wrong scale can produce drift. Some parts of the body may also be hidden or poorly localized, so the optimizer must decide how much to rely on each observation.

Inputs

  • One monocular RGB sequence recorded by a moving camera
  • Initial SMPL poses, joint detections, camera transforms and a scene point cloud estimated from that video

Outputs

  • Per-frame SMPL pose, orientation and translation in a common world coordinate system, with a sequence-wide body shape
  • Refined camera trajectory in the same coordinate system and inferred foot-contact states for motion fitting

Author figure

Frames from a moving camera feed initial body and camera estimates. A joint optimizer exchanges motion with a diffusion model and produces coordinated trajectories for the person and camera.

Figure 2 · The authors’ Figure 2 shows how initial human and camera tracks enter joint optimization. The diffusion branch updates the motion prior by combining dynamic control with soft inpainting.

Figure credit · Jiefeng Li, Ye Yuan, Davis Rempe, Haotian Zhang, Pavlo Molchanov, Cewu Lu, Jan Kautz, Umar Iqbal

Method pipeline

  1. Initialize the person and camera

    Estimate camera-space SMPL for each frame with HybrIK and recover the initial trajectory and scene point cloud with DROID-SLAM. Transform the person into the initial world coordinate system.

  2. Condition the motion prior on the current estimate

    Provide the current optimized motion and a visibility mask to a control branch attached to a pretrained motion denoiser. Sample with multiple DDIM updates to produce a motion target for score distillation. The experiments use 10 denoising steps.

  3. Blend observations and denoised motion

    Weight the observed parts by confidence and diffusion time. During denoising, the model can fill in unobserved regions and make bounded adjustments to the observed motion.

  4. Refine both trajectories and camera scale

    Fit the estimated poses to 2D and 3D joint cues, temporal smoothness and foot-contact constraints. Use scene points projected near visible human joints to penalize incorrect depth ordering. Jointly refine camera pose and scale, body motion and shape.

Key design choices

  • Update the conditioning motion during optimization

    The denoiser uses the previous iteration’s estimate as its control. In the RICH ablation, fixing the control raises W-MPJPE from 254.5 to 293.8 mm. Removing controlled sampling entirely raises it to 825.0 mm.

  • Preserve reliable details with soft inpainting

    A continuous confidence and timestep mask blends observed motion with the denoiser output. On RICH, removing this branch raises PA-MPJPE from 42.9 to 47.6 mm and W-MPJPE from 254.5 to 325.8 mm.

  • Use occluded scene points to constrain scale

    The scene point cloud shares scale with the camera trajectory. The loss penalizes a scene point that should be hidden by the person but projects in front of a nearby body joint. On HCM, removing this loss raises camera ATE-S from 385.9 to 402.1 mm.

Reading the experiments

Datasets and splits
RICH and the dynamic-camera subset of EMDB provide real-world evaluation. HCM is synthetic and provides a controlled benchmark for both person and camera trajectories.
Baselines
Comparisons include HybrIK with DROID-SLAM, GLAMR, SLAHMR, WHAM and PACE, with some method rows specific to each dataset. The diffusion ablations compare guided sampling, noise optimization and vanilla score distillation under the paper’s fitting setup.
Metrics and units
W-MPJPE and WA-MPJPE measure global joint errors, and PA-MPJPE measures joint error after Procrustes alignment. EMDB computes its world metrics in 100-frame chunks, aligning on the first two frames for W-MPJPE₁₀₀ and the full chunk for WA-MPJPE₁₀₀. Camera ATE is scale-aligned, while ATE-S retains scale error.
Key results
On RICH, COIN yields 254.5 mm W-MPJPE compared with 380.0 mm for PACE. On the EMDB subset, COIN gives 407.3 mm W-MPJPE₁₀₀ versus 439.2 mm for WHAM. On synthetic HCM, COIN reports 479.9 mm W-MPJPE versus 588.9 mm for WHAM, and 385.9 mm camera ATE-S versus 459.7 mm for PACE.
Trade-offs
On RICH, COIN obtains lower world joint error than WHAM, which has lower joint acceleration error at 6.7 versus 7.5 mm/s². The camera table is reported on synthetic HCM. The multi-step denoising inside iterative fitting adds compute.

Limitations and applicability

  • Author-reported limitation

    COIN relies on usable SLAM initialization and can fail after severe SLAM errors or long stretches where the person is hidden. The iterative formulation is unsuitable for real-time applications.

  • Editorial assessment

    Camera trajectory accuracy is measured quantitatively on synthetic HCM in the main comparison. The real-world human metrics use dataset-specific alignment, which limits direct comparison of their absolute values and leaves real-camera metric-scale accuracy less well characterized.

Sources and reading guide

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