PDU APD Detection — YOLO11s v4 (6 Kelas)
Model deteksi Alat Pelindung Diri (APD), pekerja, dan tangan telanjang untuk rig pengeboran migas PDU (Parama Data Unit), dikembangkan sebagai bagian dari proyek PMLD Kelompok 6, TRPL SV UGM.
Deskripsi
Model v4 (apd_pdu_v4_yolo11s_800.pt) mendeteksi 6 kelas dari rekaman CCTV rig:
| ID | Kelas | AP50 (Valid) | AP50 (Test) | AP50-95 (Test) |
|---|---|---|---|---|
| 0 | glove | 0.883 | 0.876 | 0.544 |
| 1 | helm | 0.993 | 0.983 | 0.882 |
| 2 | kacamata | 0.789 | 0.751 | 0.363 |
| 3 | sepatu | 0.886 | 0.876 | 0.553 |
| 4 | pekerja | 0.934 | 0.931 | 0.797 |
| 5 | tangan_tanpa_glove | 0.818 | 0.924 | 0.575 |
Performa Global (v4)
| Metrik | Valid | Test |
|---|---|---|
| mAP50 | 0.8838 | 0.8903 |
| mAP50-95 | 0.6158 | 0.6189 |
| Precision | 0.895 | 0.885 |
| Recall | 0.836 | 0.842 |
Dataset: 1 kamera CCTV, 1 hari (17-08-2026). Split per blok waktu 4 menit + jeda 30 detik (train/valid/test = 1119/263/224 gambar).
Cara Pakai
from ultralytics import YOLO
from huggingface_hub import hf_hub_download
path = hf_hub_download(
repo_id="akmalmanggala/pdu-apd-detection-yolo11",
filename="apd_pdu_v4_yolo11s_800.pt",
)
model = YOLO(path)
results = model("foto_pekerja.jpg", imgsz=800)
Threshold Per Kelas (Kalibrasi Presisi Tinggi di Valid)
conf_thresholds = {
"glove": 0.534,
"helm": 0.480,
"kacamata": 0.480,
"sepatu": 0.450,
"pekerja": 0.301,
"tangan_tanpa_glove": 0.546,
}
Detail Training
| Parameter | Nilai |
|---|---|
| Arsitektur | YOLO11s (COCO pretrained) |
| Resolusi | 800x800 |
| Epochs | 120 (terbaik di epoch 102, patience 30) |
| Optimizer | AdamW, lr=0.001, cosine LR |
| Ultralytics | 8.4.174 |
Lisensi
MIT