Downloads · 30 days
46
19% of all-time downloads
ouss100/football-player-detection-yolo8
football-player-detection-yolo8 is a object detection model from ouss100. Use it when you need objects located in an image. It is set up for ultralytics. The card lists the license as mit.
[](https://github.com/ultralytics/ultralytics) [](https://pytorch.org/) [](https://opensource.org/licenses/MIT)
Downloads · 30 days
46
19% of all-time downloads
All-time downloads
247
Public
Repo size
7.6 MB
Likes
1
Public
Click a slice to open those files.
.pt6.3 MB · 82%
From the Hugging Face model README
This repository contains a YOLO object detection model fine-tuned for football (soccer) match analysis. The model localizes football players in broadcast or tactical camera angles.
yolov8n.pt)1.0), left-right flips (0.5), scaling (0.5), translation (0.1).Key hyperparameters extracted from args.yaml:
lr0): 0.01lrf): 0.01Evaluation metrics at epoch 100:

Training progression showing box, class, and DFL losses alongside precision, recall, and mAP metrics over 100 epochs.

Normalized confusion matrix evaluating true positive predictions and background false negatives.

Precision-Recall (PR) curve demonstrating the trade-off between precision and recall across confidence thresholds.

F1-score curve illustrating optimal confidence thresholds.
pip install ultralytics torch torchvision
from ultralytics import YOLO
model = YOLO("weights/best.pt")
results = model("football.jpg")
results[0].show()
yolo task=detect mode=predict model=weights/best.pt source=football.jpg
.
├── weights/
│ ├── best.pt
│ └── last.pt
├── args.yaml
├── results.csv
├── results.png
├── confusion_matrix.png
├── confusion_matrix_normalized.png
├── BoxPR_curve.png
├── BoxP_curve.png
├── BoxR_curve.png
├── BoxF1_curve.png
├── labels.jpg
├── val_batch0_pred.jpg
├── val_batch1_pred.jpg
└── val_batch2_pred.jpg