This project detects and maps football players across two camera views using YOLOv8 and the Hungarian algorithm.
Run on Google Colab or locally (Python 3.11+).
- ultralytics
- opencv-python-headless
- numpy
- scipy
Install via pip:
pip install ultralytics opencv-python-headless numpy scipy- Upload
broadcast.mp4andtacticam.mp4in Colab. - Run all notebook cells.
- Output saved as
player_id_mapping.json.
notebook.ipynb— Colab notebookplayer_id_mapping.json— outputbroadcast.mp4,tacticam.mp4— input clips