Views
No views yet
| Clase | Precisión | Recall | mAP50 |
|---|---|---|---|
| Jugador | 0.885 | 0.974 | 0.949 |
| Árbitro | 0.936 | 0.977 | 0.962 |
| Balón | 0.909 | 0.500 | 0.549 |
| Promedio | 0.910 | 0.817 | 0.820 |
1from ultralytics import YOLO
2from huggingface_hub import hf_hub_download
3
4model_path = hf_hub_download(repo_id="hugosanchezgallego/futbol-detector-v1", filename="best.pt")
5model = YOLO(model_path)
6
7results = model("ruta/al/video.mp4")