Downloads · 30 days
0
Simon9/football-player-detection-roboflow
football-player-detection-roboflow is a object detection model from Simon9. Use it when you need objects located in an image. The card lists the license as mit.
YOLOv8 model for detecting players, goalkeepers, referees, and the ball in football/soccer videos.
Downloads · 30 days
0
Access
Public
Updated Nov 5, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md1.9 KB · 30%
From the Hugging Face model README
YOLOv8 model for detecting players, goalkeepers, referees, and the ball in football/soccer videos.
football-players-detection-3zvbc/11pip install inference-gpu # or inference for CPU
pip install supervision
from inference import get_model
import supervision as sv
# Initialize model
api_key = "YOUR_ROBOFLOW_API_KEY"
model = get_model(
model_id="football-players-detection-3zvbc/11",
api_key=api_key
)
# Run inference
result = model.infer("image.jpg", confidence=0.3)[0]
detections = sv.Detections.from_inference(result)
print(f"Detected {len(detections)} objects")
from player_inference import FootballPlayerDetector
import os
detector = FootballPlayerDetector(api_key=os.getenv("ROBOFLOW_API_KEY"))
results = detector.predict("image.jpg", confidence=0.3)
This model has been trained on the Roboflow Football Players Detection dataset with high accuracy for real-time detection.
You need a Roboflow API key to use this model. Get one at roboflow.com.
If you use this model, please cite:
@misc{football-players-detection,
title={Football Players Detection},
author={Roboflow},
year={2024},
url={https://universe.roboflow.com/roboflow-jvuqo/football-players-detection-3zvbc}
}