How we developed a computer vision system for detecting PPE and machinery

Viktor Prusakov19 Jan 2026

Problem

A company aiming for zero workplace injuries cannot put a person in front of every camera. Tired or uninformed workers break safety rules, and accidents bring fines, lost output and sometimes deaths. The team at Usetech had to automate this for a geological exploration field camp with 12 CCTV cameras. The customer supplied more than 500 GB of real footage and a list of violations: missing helmets or vests, people in forbidden zones, riding on top of machinery.

Example from the article: a field camp with living zones, an entrance, a loading zone and a machinery repair zone.

Solution in brief

A YOLO v5x detector finds people, machinery, helmets and vests on one frame per second from each camera. A post-processing step treats the bottom of each person's box as their feet and checks whether it falls into a labeled zone. A fine-tuned pose model is being added for violations that depend on posture. Modules are connected through an Apache NiFi data bus, so cameras, zones and models can be swapped.

Questions this case answers
  • How to detect rule violations in fixed-camera video when per-frame boxes are not enough and inference time must stay within a multi-stream budget
  • How to assemble a labeled detection dataset from large unbalanced footage and imperfect public datasets
  • How to detect missing PPE and zone violations on CCTV footage from an industrial site?
  • How to choose between YOLO, DETR and Faster R-CNN when 12 camera streams must be processed on one GPU?

Tools and methods

  • YOLO v5x — detector for people, machinery, helmets and vests.
  • YOLOpose / MediaPipe — candidate pose models; YOLOpose was fine-tuned.
  • LabelImg — manual labeling of boxes.
  • Apache NiFi — data bus between camera database, preprocessing, model and post-processing.
  • Zone rule on box bottom — post-processing check for zone violations.
Continue reading — it's free

Google or a one-time email code. No password.