Views
No views yet
huggingface_hub.hf_hub_download.0 Fall-Detected 5 Mask 10 NO-Safety Vest
1 Gloves 6 NO-Gloves 11 Person
2 Goggles 7 NO-Goggles 12 Safety Cone
3 Hardhat 8 NO-Hardhat 13 Safety Vest
4 Ladder 9 NO-MaskNO-Hardhat, NO-Mask, NO-Safety Vest,
NO-Gloves, NO-Goggles.| Metric | Value |
|---|---|
| Precision | 0.70 |
| Recall | 0.86 |
| mAP@50 | 0.79 |
| mAP@50-95 | 0.53 |
| Class | Recall | mAP@50 |
|---|---|---|
| NO-Hardhat | 0.93 | 0.74 |
| NO-Gloves | 0.91 | 0.91 |
| NO-Goggles | 0.97 | 0.96 |
| NO-Mask | 0.88 | 0.66 |
| NO-Safety Vest | 0.32 | 0.21 |
Note:NO-Safety Vestis the rarest class and has weak recall — treat its alerts with lower confidence and consider oversampling/more data for a future revision.
yolov8m.pt, 640px, batch 16, ~92/100 epochs (early stop, patience 25), seed 01from huggingface_hub import hf_hub_download
2from ultralytics import YOLO
3
4path = hf_hub_download(repo_id="jashwanthpeddisetty0712/ppe-detection-yolov8m", filename="best.pt")
5model = YOLO(path)
6results = model.predict("image.jpg", conf=0.25)