Skip to content

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.

Notifications You must be signed in to change notification settings

goodgoodbigbig/tennis_analysis

 
 

Repository files navigation

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:

Screenshot

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

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 73.8%
  • Python 26.2%