🏀 Automated Basketball Analytics

Transforming Basketball Analytics with AI, Deep Learning, and Computer Vision — Real-Time Detection, Tracking, and Insights.

Explore Project 🚀

📖 About the Project

This project showcases a real-time AI-powered system designed to automate basketball gameplay analysis. It detects players, ball, and rim, tracks movements, classifies teams, and annotates gameplay actions efficiently using Deep Learning, UMAP, KMeans, and advanced visualization techniques.

⚙️ System Overview

Video Preprocessing

GPU-accelerated frame extraction and stride sampling with ONNX Runtime & Supervision.

Object Detection

Custom-trained YOLOv8 and Roboflow models for detecting players, ball, and rim.

Tracking & Clustering

ByteTrack for multi-object tracking and UMAP + KMeans for team classification.

🛠️ Tech Stack

Python
YOLOv8
Roboflow
ONNX Runtime
ByteTrack
Siglip Vision
UMAP
KMeans

📈 Results

Metric 10 Epochs 15 Epochs
mAP50 93.4% 94.2%
mAP50-95 71.1% 73.7%
Precision 85.7% 89.4%
Recall 90.1% 91.0%

🎥 Demo Video

🔮 Future Work

📚 References

1. Frontiers in Neurorobotics

2. Roboflow Sports

3. Hugging Face Siglip