Skip to content

SportsCV/JumpVision

Repository files navigation

JumpVision

JumpVision is a machine vision-based project for estimating an individual's jump height and hang time from video footage. By analyzing videos captured from a fixed camera angle, the system can track key body points and use physics-based calculations to determine jump performance.

Languages

Features

  • 📹 Video-based measurement: Uses computer vision to analyze jump motion.
  • 🎯 Accurate jump height estimation: Calculates vertical leap based on body keypoint tracking.
  • Hang time calculation: Determines the total air time of the jump.
  • 📊 Data visualization: Plots motion curves and key parameters for better analysis.

Installation

git clone https://github.com/SportsCV/JumpVision.git
cd JumpVision
pip install -r requirements.txt

Usage

  1. Place a video file of a jump attempt in the project directory as demo.mp4.
  2. Run the analysis script:
python main.py
  1. View the output jump height and hang time.

78.71cm

img.png 4. Compared with MY-JUMP-LAB APP

76.34cm

img.png

How It Works

  1. Keypoint Detection: Uses a pose estimation model to track the ankle position.
  2. Jump Segmentation: Filters the frames to extract the jump phase.
  3. Parabolic Fitting: Applies a quadratic function to estimate jump height.
  4. Physics-based Calculation: Computes the total hang time and vertical leap.

About

A machine vision-based project for measuring an individual’s jump height from video footage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages