{
 "source": "github.com/ZulfaqarHafez/AAI3001_Deep_Learning, branch eval-2026-11: eval/results/metrics.json, onnx_export.json, failures_deployed_best_deep.json and eval/README.md (run 11 Nov 2026, Ultralytics val on CPU)",
 "model": "best_deep.pt (the deployed checkpoint), imgsz 640, test split 255 images, 1,237 boxes",
 "perClassNote": "precision and recall are Ultralytics val at its F1-optimal confidence; AP50 over all confidences. The int8 320 file that runs in the browser has only overall scores in the eval.",
 "overall": {
  "precision": 0.488,
  "recall": 0.547,
  "mAP50": 0.468,
  "mAP50_95": 0.217
 },
 "browserModel": {
  "file": "ppe_yolov8s_320_int8dyn.onnx",
  "bytes": 11366765,
  "mAP50": 0.4135,
  "mAP50_95": 0.1867,
  "precision": 0.548,
  "recall": 0.491,
  "eval": "ultralytics val, imgsz 320, batch 1, CPU, test split 255 images 1,237 boxes, 2026-11-11"
 },
 "perClass": [
  {
   "class": "Gloves",
   "testBoxes": 93,
   "precision": 0.42,
   "recall": 0.527,
   "AP50": 0.434,
   "AP50_95": 0.173,
   "missedAt05": 61,
   "foundAt05": 32,
   "missedButScored01to05": 17,
   "falseAlarmsAt05": 20,
   "falseAlarmsNoLabelNearby": 12
  },
  {
   "class": "Helmet",
   "testBoxes": 414,
   "precision": 0.775,
   "recall": 0.708,
   "AP50": 0.776,
   "AP50_95": 0.369,
   "missedAt05": 317,
   "foundAt05": 97,
   "missedButScored01to05": 225,
   "falseAlarmsAt05": 3,
   "falseAlarmsNoLabelNearby": 3
  },
  {
   "class": "No-Helmet",
   "testBoxes": 244,
   "precision": 0.236,
   "recall": 0.365,
   "AP50": 0.218,
   "AP50_95": 0.066,
   "missedAt05": 207,
   "foundAt05": 37,
   "missedButScored01to05": 49,
   "falseAlarmsAt05": 103,
   "falseAlarmsNoLabelNearby": 21
  },
  {
   "class": "No-gloves",
   "testBoxes": 157,
   "precision": 0.612,
   "recall": 0.35,
   "AP50": 0.369,
   "AP50_95": 0.214,
   "missedAt05": 119,
   "foundAt05": 38,
   "missedButScored01to05": 20,
   "falseAlarmsAt05": 11,
   "falseAlarmsNoLabelNearby": 9
  },
  {
   "class": "No-vest",
   "testBoxes": 191,
   "precision": 0.225,
   "recall": 0.717,
   "AP50": 0.298,
   "AP50_95": 0.129,
   "missedAt05": 78,
   "foundAt05": 113,
   "missedButScored01to05": 28,
   "falseAlarmsAt05": 263,
   "falseAlarmsNoLabelNearby": 228
  },
  {
   "class": "Vest",
   "testBoxes": 138,
   "precision": 0.66,
   "recall": 0.616,
   "AP50": 0.716,
   "AP50_95": 0.351,
   "missedAt05": 90,
   "foundAt05": 48,
   "missedButScored01to05": 43,
   "falseAlarmsAt05": 10,
   "falseAlarmsNoLabelNearby": 7
  }
 ],
 "atAppThreshold": {
  "threshold": 0.5,
  "matching": "same class, IoU >= 0.5, greedy (eval/ppe_eval.py)",
  "found": 365,
  "missed": 872,
  "falseAlarms": 410,
  "missedFirstCause": {
   "detected_below_app_threshold": 382,
   "other": 217,
   "small_object": 132,
   "poor_localisation": 95,
   "class_confusion": 23,
   "dark": 18,
   "crowded_or_overlapping_gt": 3,
   "overexposed": 2
  }
 },
 "falseAlarmReview": {
  "what": "The 12 false alarms with no label nearby that the eval README reviews by hand (seed 0), rechecked by eye on 11 Nov 2026: in each, the person really lacks the predicted item, so the label is missing rather than the detection wrong.",
  "reviewed": 12,
  "byClass": {
   "No-Helmet": 2,
   "No-vest": 10
  },
  "personLacksItem": 12,
  "files": [
   {
    "file": "IMG_4867_3-30sec_jpg.rf.d57e557663cbc8f8d5942a56e9ef7b4c.jpg",
    "class": "No-Helmet",
    "score": 0.516
   },
   {
    "file": "005488_jpg.rf.d56787c3f38692d041a00fe3c0cef002.jpg",
    "class": "No-vest",
    "score": 0.687
   },
   {
    "file": "005382_jpg.rf.fcda49028c91913b4e05c5bf995e57cf.jpg",
    "class": "No-vest",
    "score": 0.601
   },
   {
    "file": "ppe_0130_jpg.rf.6ee0e18232d0b43e4915fc699c02c808.jpg",
    "class": "No-Helmet",
    "score": 0.739
   },
   {
    "file": "005391_jpg.rf.9fe10a4ef4786c6f98c962cb67a32206.jpg",
    "class": "No-vest",
    "score": 0.752
   },
   {
    "file": "ppe_0126_jpg.rf.6d02d211d5624619e4e58d76ead5b9c1.jpg",
    "class": "No-vest",
    "score": 0.544
   },
   {
    "file": "005456_jpg.rf.7836a28e98bc7c7a953c59bc1211adb2.jpg",
    "class": "No-vest",
    "score": 0.682
   },
   {
    "file": "005346_jpg.rf.da4f4bbf4418a9a29443522f37a8bee9.jpg",
    "class": "No-vest",
    "score": 0.792
   },
   {
    "file": "005420_jpg.rf.b8f46961ead3e922ed0ab00aa44b8ee1.jpg",
    "class": "No-vest",
    "score": 0.807
   },
   {
    "file": "005331_jpg.rf.012395a0c2835f9f438223e276931329.jpg",
    "class": "No-vest",
    "score": 0.697
   },
   {
    "file": "005385_jpg.rf.7c6faffab649c29a7d898e31845b2fd9.jpg",
    "class": "No-vest",
    "score": 0.79
   },
   {
    "file": "005417_jpg.rf.a6aed5e434ff3906d7e86af5db0cfdf8.jpg",
    "class": "No-vest",
    "score": 0.781
   }
  ]
 }
}