Public projectJun - Jul 2025 · Computer vision
Football Analysis with YOLOv8 and OpenCV
A modular computer-vision pipeline for player tracking, team assignment, ball possession, and motion-aware match analysis.
The problem
Why build this?
Real match footage combines small moving objects, camera pans, team ambiguity, and temporal statistics in one difficult vision problem.
Approach
How it works
- Used YOLOv8 for player, referee, and ball detection and jersey-color clustering for team assignment.
- Estimated speed and distance from tracked positions and linked the ball to the controlling player.
- Compensated for camera motion with optical flow before producing annotated video output.
Outcome
What came out of it
- Built an end-to-end pipeline that overlays player IDs, movement statistics, and ball control.
- Published the modular implementation and a public technical walkthrough.
Technology
Tools used deliberately
PythonYOLOv8OpenCVOptical flowNumPy
Source and evidence
The claims on this page are limited to the project repository, model page, public demo, and resume record.