abdullahtarek/football_analysis
abdullahtarek/football_analysis has 1,032 GitHub stars and 345 forks. GitHot measured +1 stars in 24 hours, +2 in 7 days, and +5 in 15 days. Last checked 2026-11-24 06:26 UTC. Last push 2024-04-23.
Gemessener Sternzuwachs
- in 24h
- +1
- in 7 days
- +2
- in 15 days
- +5
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
Über uns
Dieses Repository enthält ein umfassendes Computer-Vision-/Machine-Learning-Projekt für Fußball. Es nutzt YOLO zur Objekterkennung, Kmeans zur Pixel-Segmentierung, optischen Fluss zur Bewegungsverfolgung und Perspektivtransformationen zur Analyse der Spielerbewegungen in Fußballvideos
Maschinelles LernenREADME.md
OriginalFootball Analysis Project
Introduction
The goal of this project is to detect and track players, referees, and footballs in a video using YOLO, one of the best AI object detection models available. We will also train the model to improve its performance. Additionally, we will assign players to teams based on the colors of their t-shirts using Kmeans for pixel segmentation and clustering. With this information, we can measure a team's ball acquisition percentage in a match. We will also use optical flow to measure camera movement between frames, enabling us to accurately measure a player's movement. Furthermore, we will implement perspective transformation to represent the scene's depth and perspective, allowing us to measure a player's movement in meters rather than pixels. Finally, we will calculate a player's speed and the distance covered. This project covers various concepts and addresses real-world problems, making it suitable for both beginners and experienced machine learning engineers.

Modules Used
The following modules are used in this project:
- YOLO: AI object detection model
- Kmeans: Pixel segmentation and clustering to detect t-shirt color
- Optical Flow: Measure camera movement
- Perspective Transformation: Represent scene depth and perspective
- Speed and distance calculation per player
Trained Models
Sample video
Requirements
To run this project, you need to have the following requirements installed:
- Python 3.x
- ultralytics
- supervision
- OpenCV
- NumPy
- Matplotlib
- Pandas
Ähnliche Projekte entdecken
Wird geladen…