Skip to content
← Projects

Project

PPE Compliance Detection

Part of Vveer Motani's portfolio · Robotics & Physical AISee everything →

Detects construction workers and checks each one for a helmet and a vest, using two YOLOv8 models and a geometric compliance check.

shipped#computer vision#object detection#construction safety
Overall mAP50
0.939
Helmet mAP50
0.988
Vest mAP50
0.987
Epochs
50

Built withPythonYOLOv8OpenCV

Group detection Partial kit
Several workers detected in one frame, each with a PPE label A worker tagged as Partial kit

How it works

  • People. The standard YOLOv8n model detects every person in the frame, so it works on any site.
  • PPE. A second YOLOv8n model, fine-tuned for 50 epochs on a construction PPE dataset, detects five classes: helmet, vest, boots, gloves and human.
  • Compliance. A geometric check matches gear to people. A helmet counts if its centre falls in the top 35% of the person's box; a vest counts if its centre falls anywhere inside it. Each worker is tagged Full kit, Partial kit or No kit.

Results

Class mAP50
Overall 0.939
Helmet 0.988
Vest 0.987
Human 0.987

Why two models

The general YOLOv8n model finds people in any environment. Keeping person detection there leaves the fine-tuned model with the narrower question of what each person is wearing.

Next

Video and webcam streams, and compliance checks for boots and gloves.