← Open Source
abdullahtarek

tennis_analysis

This project analyzes Tennis players in a video to measure their speed, ball shot speed and number of shots. This project will detect players and the tennis ball using YOLO and also utilizes CNNs to extract court keypoints. This hands on project is perfect for polishing your machine learning, and computer vision skills.

ApplicationsObject detectionJupyter Notebook
Open on GitHub
Momentum
+3stars in 24 hours+0.3%
900
Stars
279
Forks
+5
This week
1
Contributors
Created 2024-03-09 · Updated 2026-10-17 · #2786 today
Top developers
abdullahtarek
README

Tennis Analysis

Introduction

This project analyzes Tennis players in a video to measure their speed, ball shot speed and number of shots. This project will detect players and the tennis ball using YOLO and also utilizes CNNs to extract court keypoints. This hands on project is perfect for polishing your machine learning, and computer vision skills.

Output Videos

Here is a screenshot from one of the output videos:

Models Used

Training

  • Tennis ball detetcor with YOLO: training/tennis_ball_detector_training.ipynb
  • Tennis court keypoint with Pytorch: training/tennis_court_keypoints_training.ipynb

Requirements

  • python3.8
  • ultralytics
  • pytroch
  • pandas
  • numpy
  • opencv
Nearby in the ranking
Similar items