flowhmr/flowhmr
Official implementation of FlowHMR, a generative model for physically plausible motion capture from monocular video.
What it solves
FlowHMR addresses the challenge of capturing realistic, physically plausible 3D human motion from standard video. It bridges the gap between simple visual tracking and physics-based simulation, ensuring that reconstructed movements are not only visually accurate but also physically feasible.
How it works
FlowHMR uses a multi-stage pipeline to transform video into 3D motion data. First, it detects people (YOLOX), estimates camera positioning (VGGT-Omega), and extracts body features (SAM 3D Body). These inputs are processed by a flow-matching base model to generate motion. To ensure physical realism, the model undergoes a post-training process called GRPO, where it is fine-tuned using a physics simulator (PHC+) that rewards motions that can be successfully tracked by a simulated humanoid controller.
Who it’s for
This project is for researchers and developers working on computer vision, motion capture, and character animation who need high-fidelity 3D motion data from video. It is suitable for those comfortable managing complex environments, as it supports both a standard inference setup and a full pipeline that integrates physics simulation.
Highlights
- Physically plausible motion reconstruction using physics-based rewards.
- High-performance inference with optimized feature extraction and end-to-end processing.
- Supports both command-line batch processing and an interactive web-based demo.
- Exports motion data in standard formats like .npz and .fbx.
- Includes a complete workflow covering synthetic data generation, pretraining, and GRPO fine-tuning.
Related
- Project
- Project
- Project
- Project
- Project