A YOLO11n detector fine-tuned on 10 construction classes (hard hat, vest, person,
and their "missing" counterparts), quantised to INT8 (3.3 MB) and run with onnxruntime-web.
Each hard hat or vest is attached to the person wearing it, and every worker gets a status.
Photos are processed on your device; nothing is uploaded.
Learning project, not a safety system: about a third of the workers with a
violation in the test set are missed, mostly because the person isn't detected at all.