Skip to content

Native Windows video motion capture with ExMR, FlowHMR and GVHMR, contact correction, humanoid retargeting, and FBX/VMD export.

Python
6.0 KB
Raw Blame
FlowHMR: Physically Plausible Motion Capture from Video

arXiv Project Page Hugging Face Model

Release Plan

We are releasing the full workflow, from data synthesis to training and evaluation, step by step.

  • Inference code and checkpoints (guide, models)
  • Pretraining and GRPO post-training code (guide)
  • Web demo (guide)
  • Synthetic data generation code (guide)
  • Wild-4K evaluation clip list (list)
  • Hugging Face demo

Model Zoo

Model Description Params Tracking Success ↑ Download
flowhmr_base Base model 0.46B 78.79% 🤗 HF
flowhmr_latest flowhmr_base + GRPO with PHC+ physics reward (recommended) 0.46B 82.47% 🤗 HF

Tracking Success: the rate at which the PHC+ controller successfully tracks the predicted motion in simulation, measured on Wild-4K.

Getting Started

Follow the guide for each step, or paste the prompt into your coding agent.

Installation

Installation guide

FlowHMR supports two setups:

  • V2M: inference, web demo, and base model training in a single environment (tested with Python 3.10 + PyTorch 2.5.1, cu118).
  • Full pipeline: V2M plus the PHC+ physics simulator for GRPO post-training and physics tracking. The simulator runs in a separate Isaac Gym environment (tested with Isaac Gym Preview 4, Python 3.8 + PyTorch 1.13, cu117). The two environments share no imports and communicate through files on /dev/shm.

Some assets require license acceptance or gated access: the SMPL-family body models, VGGT-Omega, and SAM 3D Body.

V2M:

Install FlowHMR from https://github.com/flowhmr/flowhmr following docs/install.md with the V2M setup.

Full pipeline:

Install FlowHMR from https://github.com/flowhmr/flowhmr following docs/install.md with the full pipeline setup.

Web Demo

Web demo guide

Upload a video in the browser and reconstruct its 3D motion; when several people are detected, pick the one to reconstruct. Requires the V2M setup.

Launch the FlowHMR web demo following docs/web_demo.md.

Inference

Inference guide

Reconstruct motion from a video on the command line. The pipeline runs person detection (YOLOX), camera estimation (VGGT-Omega), body feature extraction (SAM 3D Body), and FlowHMR, and saves the motion as .npz (plus .fbx if FBX export is installed).

Run FlowHMR on my video following docs/inference.md.

Data

Data guide

  • Training data is not bundled. Bring your own in the documented format, or render synthetic videos from SMPL-H motions with the Blender toolkit in data/rendering_data.
  • Wild-4K is the 4182-clip in-the-wild evaluation set behind Tracking Success. We release the clip list (clip IDs from Koala-36M-v1), not the videos.

Training

Training guide

Training has two stages: pretraining the base model, then GRPO post-training with a physics reward. Prepare training data first (see Data and Prepare data).

Pretraining (V2M setup) trains the flow-matching base model, flowhmr_base.

Train the FlowHMR base model following docs/training.md.

GRPO post-training (full pipeline setup) fine-tunes flowhmr_base with the PHC+ simulator as the reward: each generated motion is scored by how well the PHC+ controller tracks it. This produces flowhmr_latest.

Run FlowHMR GRPO post-training following docs/training.md.

Acknowledgements

We thank the authors of these projects for releasing their code and models:

  • HY-Motion 1.0: MMDiT flow-matching backbone
  • MixGRPO: GRPO post-training for flow matching
  • PHC: PHC+ controller for physics reward and tracking evaluation
  • GVHMR: world-grounded human motion recovery
  • VGGT-Omega: camera estimation
  • SAM 3D Body: body features
  • YOLOX: person detection

Citation

If you find FlowHMR useful in your research, please cite:

@misc{wang2026flowhmr,
      title={FlowHMR: Physically Plausible Motion Capture from Video},
      author={Zhanke Wang and Chengfeng Zhao and Qing Shuai and Jingzhong Lin and Heng Li and Zeyu Ling and Yuxin Wen and Jing Li and Di Kang and Chunchao Guo and Linchao Bao},
      year={2026},
      eprint={2610.03691},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2610.03691},
}

License

The FlowHMR source code is licensed under the Apache License 2.0. Third-party libraries and components are subject to their respective licenses. For model weights, please refer to the license specified in the model card.