Object Tracking & Trajectory Interpolation for Sports Analytics
This project implements a robust multi-object tracking system for soccer videos. It addresses common challenges in sports analytics, such as motion blur and occlusion, by integrating deep learning with classical engineering algorithms.
- Problem: Fast-moving balls often disappear due to motion blur (False Negative).
- Solution: Utilized Pandas Linear Interpolation to mathematically recover missing coordinates in the ball's trajectory.
- Problem: Player IDs flicker between 'Player' and 'Referee' during occlusion.
- Solution: Implemented a Temporal Majority Voting algorithm using a Queue (Window size=30) to stabilize class prediction.
- Integrated ByteTrack to handle low-confidence detections and maintain ID consistency.
- Clone the repository
git clone [https://github.com/your-username/Soccer-Video-Analysis.git](https://github.com/your-username/Soccer-Video-Analysis.git)
- Install dependencies
pip install -r requirements.txt
- Run the code
python src/main.py --source video.mp4
