Human mesh recoveryECCV 2024

VQ-HPS: Human Pose and Shape Estimation in a Vector-Quantized Latent Space

VQ-HPS predicts mesh codes per frame and smooths vertex tracks for video

Guénolé Fiche, Simon Leglaive, Xavier Alameda-Pineda, Antonio Agudo, Francesc Moreno-Noguer

One-minute overview

The method learns a codebook for canonical meshes and reuses the trained decoder during image-based reconstruction. It predicts body orientation and a weak-perspective camera, then classifies the code for each mesh location. The predicted canonical mesh is rotated into the image frame. The official project applies temporal smoothing after framewise prediction.

Why this paper is included

Direct vertex regression has to learn plausible mesh structure from its labeled images. VQ-HPS learns a body representation from motion capture meshes first. Its separate video examples show how the resulting registered meshes can be turned into vertex tracks.

Problem, inputs and outputs

Image cues can be ambiguous under occlusion and unusual poses, especially with limited training data. Regressing mesh vertices directly leaves spatial structure implicit in the image model. A codebook learned on registered meshes supplies a stronger prior while retaining a consistent vertex layout across frames.

Inputs

  • One RGB image per model call, or ordered RGB frames in the separate video demonstration
  • Registered canonical SMPL-topology training meshes for codebook learning

Outputs

  • An oriented mesh with SMPL topology and an image-alignment camera estimate for each frame
  • Smoothed, ordered mesh vertex tracks in the authors' video demonstrations

Author figure

Author architecture diagram showing an image feeding camera and orientation estimation, discrete mesh code prediction, canonical vertex decoding and final mesh rotation.

Figure 2 · Figure 2 shows the framewise architecture. The image predicts a rotation and camera, and these estimates condition the canonical mesh branch. A quantized decoder recovers the canonical vertices, which are rotated into the image frame.

Figure credit · Guénolé Fiche, Simon Leglaive, Xavier Alameda-Pineda, Antonio Agudo, Francesc Moreno-Noguer

Method pipeline

  1. Learn a codebook of canonical body meshes

    Use AMASS meshes to train a fully convolutional mesh autoencoder with vector quantization. Each latent position uses one code from the learned dictionary. Keep the decoder fixed when training the image model.

  2. Predict codes, orientation and camera from the image

    Estimate rotation and a weak-perspective camera using image features and a reference T-pose skeleton. The canonical mesh branch uses a Transformer to map image features to localized mesh representations, then classifies each discrete code with cross-entropy supervision.

  3. Decode each frame and smooth the video output

    Decode the predicted codes into canonical vertices and apply the estimated orientation. In the author project videos, run the image model independently on each ordered frame and apply a 10-frame linear moving average to the predicted vertices.

Key design choices

  • Classify localized mesh codes

    The encoder and decoder work on registered meshes, with latent features tied to parts of the body surface. The image model learns code classification while the frozen decoder preserves the mesh topology.

  • Separate articulation from the global image orientation

    The mesh branch predicts a centered body in a canonical orientation. The system uses a separate rotation estimate to orient it and a weak-perspective camera for pixel alignment. The video demonstration smooths the output vertex sequence after these framewise predictions.

Reading the experiments

Datasets and splits
AMASS supplies canonical meshes for the codebook. The paper evaluates framewise mesh estimates on 3DPW and EMDB under several training sets. The official project separately presents ordered video reconstructions associated with 3DPW and EMDB.
Baselines
The scarce-data comparison uses HMR, CLIFF and FastMETRO-S trained with matching image datasets. A separate large-scale training table compares a broader set of models and backbones.
Metrics and units
PVE measures mean vertex error, MPJPE measures mean joint error and PA-MPJPE measures joint error after Procrustes alignment. The paper reports these geometric errors in millimeters.
Key results
In the 3DPW-trained setting in Table 1, VQ-HPS reports 163.9 mm PVE and 139.8 mm MPJPE, versus 176.3 and 157.0 mm for FastMETRO-S. For EMDB after training on COCO, PVE is 152.7 versus 143.1 mm, while PA-MPJPE is 74.5 versus 80.2 mm.
Trade-offs
The reported advantage is strongest when training on a small target dataset. With COCO training on EMDB the framewise geometry measures favor different methods. The project video examples show smoothed mesh tracks qualitatively, while the paper tables evaluate framewise reconstruction.

Limitations and applicability

  • Author-reported limitation

    The authors show failures under low visibility or unusual poses, including the wrong person being reconstructed, implausible arm geometry and incorrect body orientation.

  • Editorial assessment

    The video track uses a framewise estimator followed by post-processing. The cited paper provides no temporal metric for the moving average, leaving its effect on fast motion and timing unmeasured.

Sources and reading guide

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