https://github.com/onome-joseph/soccer-player-re-identification
Real-time player detection, tracking, and re-identification in soccer videos.
https://github.com/onome-joseph/soccer-player-re-identification
computer-vision machine-learning re-identification soccer-analytics yolov11
Last synced: 3 months ago
JSON representation
Real-time player detection, tracking, and re-identification in soccer videos.
- Host: GitHub
- URL: https://github.com/onome-joseph/soccer-player-re-identification
- Owner: Onome-Joseph
- License: mit
- Created: 2025-07-12T08:12:47.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-12T09:10:08.000Z (3 months ago)
- Last Synced: 2025-07-12T10:25:18.800Z (3 months ago)
- Topics: computer-vision, machine-learning, re-identification, soccer-analytics, yolov11
- Language: Python
- Homepage:
- Size: 21.6 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Soccer Player Re-Identification System
https://github.com/user-attachments/assets/7ea57982-1cae-432c-9c9d-0209c150cb00This project performs real-time **player detection**, **tracking**, and **re-identification** in soccer videos. It combines:
- `YOLOv11` for object detection (players, goalkeepers, ball)
- `DeepSORT` for tracking across frames
- `TorchReID` (OSNet package) for appearance-based re-identificationEllipse-style annotations are used for a video-game-like visual effect.
---
## Features
- Detects players, goalkeepers, and ball from video feed
- Tracks players even during occlusions or exits/entries
- Matches player identities using appearance features (512-dim embeddings)---
## Installation & Setup
#### 1. Clone the Repository
```
git clone https://github.com/Onome-Joseph/Soccer-Player-Re-identification.git
cd Soccer-Player-Re-identification
```
#### 2. Create Virtual Environment
```
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
```
#### 3. Install Requirements
```
pip install -r requirements.txt
```
#### 4. Running the Code
```
python reid_main.py
```