Ir para o conteúdo
ModelListadosExterno
Baixar

Violence Detection Yolov26

A single-class object detector that localizes violence in images/video frames. Fine-tuned from Ultralytics yolo26s.pt (COCO-pretrained).

TipoOtherVersãoRevision 3cdcd5fBnota

Fonte do modelo

Tipo
Other
Tamanho do arquivo
57,4 MB
Versão
vRevision 3cdcd5f
Atualizado
16 de set. de 2026
Downloads
68
Fonte
Hugging Face

Descrição da fonte

Violence Detection — YOLOv26-s

A single-class object detector that localizes violence in images/video frames. Fine-tuned from Ultralytics yolo26s.pt (COCO-pretrained).

Model details

ArchitectureYOLOv26-s (Ultralytics), task: detect
Base weightsyolo26s.pt (COCO-pretrained)
Classes1 — Violence
Input size512 × 512
Training20 epochs, batch 12, cosine LR, AMP
FrameworkUltralytics 8.4.12

Evaluation (validation set)

MetricValue
mAP@500.928
mAP@50-950.901
Precision0.918
Recall0.784

Training data

Trained on a custom YOLO-format dataset derived from surveillance/anomaly sources. The dataset-preparation scripts reference:

  • ShanghaiTech Campus anomaly dataset
  • UCF-Crime dataset

⚠️ These source datasets are released under their own academic/research-use terms and are not redistributed here. Only the fine-tuned weights are shared. Verify you have the right to use this model for your use case.

Usage

from ultralytics import YOLO

model = YOLO("best.pt")
results = model("image.jpg")          # or a video / webcam stream

for r in results:
    r.show()                           # display detections
    print(r.boxes.xyxy, r.boxes.conf)  # boxes + confidence

License

This model is derived from Ultralytics YOLO, which is AGPL-3.0. The weights are therefore distributed under AGPL-3.0. For closed-source/commercial use, obtain an Ultralytics Enterprise License.

Limitations

  • Single-class detector — flags "violence" regions only; no fine-grained action labels.
  • Trained on surveillance-style footage; may not generalize to other domains.
  • Not validated for safety-critical or real-world deployment. Human review required.

Fontes

1 fonte
Hugging FacePrimárioVersão 3cdcd5f4a51287aee2d8a285de43e88ec98d139c
huggingface.co/Manas-Maahir/violence-detection-yolov26/tree/3cdcd5f4a51287aee2d8a285de43e88ec98d139c

Verificado 2 de set.

Artefatos de modelo

1 artefato

best.pt

pt · 57,4 MB · SHA-256 2b20ded5091a…84a1 · Hugging Face

Baixar

Trechos de fonte

2 trechos

--- license: agpl-3.0 library_name: ultralytics pipeline_tag: object-detection tags: - object-detection - yolo - yolov26 - ultralytics - violence-detection - surveillance - safety metrics: - mean_average_precision --- # Violence Detection — YOLOv26-s A single-class object detector that localizes **violence** in images/video frames. Fine-tuned from Ultralytics `yolo26s.pt` (COCO-pretrained). ## Model details | | | |---|---| | Architecture | YOLOv26-s (Ultralytics), task: `detect` | | Base weights | `yolo26s.pt` (COCO-pretrained) | | Classes | 1 — `Violence` | | Input size | 512 × 512 | | Training | 20 epochs, batch 12, cosine LR, AMP | | Framework | Ultralytics 8.4.12 | ## Evaluation (validation set) | Metric | Value | |---|---| | mAP@50 | **0.928** | | mAP@50-95 | 0.901 | | Precision | 0.918 | | Recall | 0.784 | ## Training data Trained on a custom YOLO-format dataset derived from surveillance/anomaly sources. The dataset-preparation scripts reference: - **ShanghaiTech Campus** anomaly dataset - **UCF-Crime** dataset > ⚠️ These source datasets are released under their own academic/research-use > terms and are **not redistributed** here. Only the fine-tuned weights are shared. > Verify you have the right to use this model for your use case. ## Usage ```python from ultralytics import YOLO model = YOLO("best.pt") results = model("image.jpg") # or a video / webcam stream for r in results: r.show() # display detections print(r.boxes.xyxy, r.boxes.conf) # boxes + confidence ``` ## License This model is derived from Ultralytics YOLO, which is **AGPL-3.0**. The weights are therefore distributed under **AGPL-3.0**. For closed-source/commercial use, obtain an [Ultralytics Enterprise License](https://ultralytics.com/license). ## Limitations - Single-class detector — flags "violence" regions only; no fine-grained action labels. - Trained on surveillance-style footage; may not generalize to other domains. - Not validated for safety-critical or real-world deployment. Human review required.

Source context: 68 downloads · 0 likes · Pipeline object-detection · Library ultralytics · Repo Manas-Maahir/violence-detection-yolov26