Skip to content

utahmobl/opencap-monocular

Repository files navigation

OpenCap Monocular graphical abstract

Project page Paper Get Started

OpenCap Monocular

3D Human Kinematics and Dynamics From a Single Smartphone Video

OpenCap-Monocular estimates 3D human movement kinematics and musculoskeletal kinetics from a single smartphone video, combining pose estimation, camera optimization, and biomechanical modeling.

Features

  • Single-camera processing
  • 3D pose estimation (WHAM)
  • Camera and pose optimization
  • OpenSim integration
  • Activity classification (walking, sit-to-stand, squats, …)

Installation

Bare-metal conda

Requires Ubuntu 20.04/22.04, Python 3.9, NVIDIA driver ≥ 520.

git clone https://github.com/utahmobl/opencap-monocular.git --recursive
cd opencap-monocular

See installation/INSTALL_SLIM.md for step-by-step instructions.


Pipeline

  1. Video preprocessing & rotation correction
  2. WHAM 3D pose estimation
  3. Camera extrinsics & pose optimization
  4. OpenSim IK and export
  5. Visualization (mono.json for OpenCap Visualizer)

Outputs

  • mono.json — OpenCap viewer
  • *.trc, *.mot — OpenSim formats
  • *_scaled.osim — Scaled model

Acknowledgments

WHAM · ViTPose · SLAHMR · OpenCap · OpenSim · VideoLLaMA3

License

This project is licensed under the PolyForm Noncommercial License 1.0.0non-commercial use only.

Commercial use requires a separate agreement. Contact the authors for inquiries.

Third-Party Licenses

This project depends on third-party components with their own licenses. Some impose additional restrictions:

Component License Commercial Use
WHAM MIT Allowed
ViTPose Apache 2.0 Allowed
DPVO MIT Allowed
SMPL / SMPL-X body models Custom (MPI) Not allowed

The SMPL body models required by this pipeline are licensed by the Max Planck Institute for non-commercial scientific research only. Users must agree to the SMPL license before downloading the model files. For commercial SMPL licensing, contact ps-license@tue.mpg.de.

About

OpenCap Monocular: 3D Human Kinematics and Dynamics From a Single Smartphone Video

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages