This repository contains a Computer Vision project that analyzes and obtain data from a tennis match video.
This project is designed to provide insights into tennis matches by analyzing video footage. The project utilizes YOLO to track both players and the ball and CNNs to find the court keypoints.
- Player detection and tracking
- Ball detection and tracking
- Calculation of movement speed for players and the ball
- Visualization of tracking data on the video
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/kaelkkd/tennis-analysis.git cd tennis-analysis
- Install the requirements:
gpip install requirements.txt
- Change the input at
ìnput_videos
and the players heights atconstants
as desired