Tennis Analytics is a computer vision-based project for analyzing tennis matches. It detects players, tracks ball movement, and extracts key statistics using deep learning models.
- Player & Ball Tracking
- Keypoint Detection
- Match Statistics
- Court Visualization
- Python 3.8+
- OpenCV, TensorFlow/PyTorch, NumPy, Matplotlib
- ffmpeg (for video processing)
Clone the repository and install dependencies:
git clone https://github.com/DavranDev/TennisAnalytics.git
cd TennisAnalyticsRun analysis on a video:
python analyze.py --input path/to/video.mp4 --output path/to/output.mp4- Annotated videos
- Player movement heatmaps
- Shot classification
- Improved real-time tracking