abdullahtarek/tennis_analysis
abdullahtarek/tennis_analysis has 910 GitHub stars and 279 forks. Star changes are not measured yet. Last checked 2026-11-14 20:44 UTC. Last push 2024-08-12.
計測したスター増加
- 24時間
- 履歴を収集中
- 7日間
- 履歴を収集中
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
概要
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.
機械学習README.md
オリジナル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
YOLO v8 for player detection
Fine Tuned YOLO for tennis ball detection
Court Key point extraction
Trained YOLOV5 model: https://drive.google.com/file/d/1UZwiG1jkWgce9lNhxJ2L0NVjX1vGM05U/view?usp=sharing
Trained tennis court key point model: https://drive.google.com/file/d/1QrTOF1ToQ4plsSZbkBs3zOLkVt3MBlta/view?usp=sharing
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