Skip to content

khanhvu0/form-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,187 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tennis Serve Analyzer

An application for analyzing tennis serves using computer vision and pose estimation (OpenCV YOLO and MMPose).

Video demo link: https://youtube.com/shorts/riT4e5XwXgg?feature=share

Features

  • Upload and process videos of tennis serves
  • Detect key moments in the serve motion (e.g., ball release, trophy position, impact)
  • Track the player's skeleton/pose, tennis ball, and tennis racket position throughout the serve
  • Visualize key moments and ball positions on a timeline
  • Interactive video playback with moment markers

Prerequisites

  • Python 3.8 or higher
  • Node.js 14 or higher
  • CUDA-capable GPU (recommended for faster processing)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/tennis-serve-analysis.git
cd tennis-serve-analysis
  1. Install Python dependencies:
pip install -r requirements.txt
  1. Install frontend dependencies:
cd analyzer/frontend
npm install
  1. Build the frontend:
npm run build

Usage

  1. Start the Flask backend:
cd analyzer
python main.py
  1. Open your web browser and navigate to http://localhost:5000

  2. Upload your 2 videos of tennis serves to compare and analyze

  3. Wait for the processing to complete

  4. Use the video player controls to navigate through the serve and view key moments

License

This project is licensed under the MIT License.

About

An application for analyzing tennis serves using computer vision and pose estimation (OpenCV YOLO and MMPose).

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors