davidpagnon/Sports2D

Compute 2D human pose and angles from a video or a webcam.

What it solves

Sports2D automatically tracks human movement from video to provide biomechanical data. It converts video footage into 2D keypoint trajectories and calculates joint and segment angles, which are essential for sports analysis, clinical gait assessment, and biomechanics research.

How it works

It processes video files or live webcam feeds to detect individuals and their skeletal keypoints. It can optionally perform inverse kinematics to provide more accurate, biomechanically consistent skeletal models. Users can customize the analysis by specifying time ranges, selecting specific individuals to track, and defining physical parameters like height to convert pixel measurements into real-world units (meters).

Who it’s for

This tool is designed for sports scientists, clinicians, and researchers who need a markerless motion capture solution. It is particularly useful for those who need to analyze movement in 2D planes (sagittal or frontal) without the need for expensive, multi-camera laboratory setups.

Highlights

  • Supports multi-person tracking from a single video or webcam.
  • Outputs standard biomechanical formats including .trc, .c3d, and .mot files.
  • Integrates with OpenSim for advanced skeletal modeling and kinematic analysis.
  • Provides a user-friendly, browser-based demo via Hugging Face for quick testing.
  • Includes tools for visualizing results in Blender and OpenSim.

Related

  • Project
  • Project
  • Project
  • Project
  • Project