Versalit EPI-2
detector for safety gloves, eyewear, and boots
2 min read
A computer vision model from Versalit (created by Delvek de Sousa) for automated personal protective equipment (PPE) monitoring in photos and video. Unlike most open-source solutions that only look for hard hats and vests, it detects both the presence and absence of hand, eye, and foot protection across 6 classes (gloves, glasses, boots, and their absence). Built on the RF-DETR architecture (Small, 512 resolution), the model ships as a ready-to-use ONNX file weighing around 114 MB under the Apache-2.0 license. It is well-suited for workplace safety engineers and developers building video analytics systems for manufacturing and construction sites.
Key features
- Detects 6 classes:
luva(gloves),óculos(glasses),bota(boots), along with the explicit absence of each item (sem_luva,sem_oculos,sem_bota). - Built on the RF-DETR (Small) architecture and trained on the BIDJOE/ppe-14classes dataset (28,821 images relabeled from 14 down to 6 target classes).
- Ships in a lightweight ONNX format (FP32, around 114 MB) with ready-to-run inference scripts for images and video streams.
- Permissive Apache-2.0 license allows commercial use, modification, and fine-tuning on custom data.
What you can do
- Integrate it into a video analytics pipeline on a construction site, warehouse, or packaging line to flag workers missing gloves, safety glasses, or protective footwear.
- Combine it into a single pipeline with the first model in the series (Versalit EPI-1) to simultaneously monitor hard hats, vests, hands, eyes, and feet.
- Run fine-tuning with the included scripts on your own shop-floor photos if cameras operate in low light or PPE gets heavily soiled.
Example
pip install -r requirements.txt
python infer.py --model epi-2.onnx --input foto.jpg --output resultado.jpg
python infer.py --model epi-2.onnx --input video.mp4 --output saida.mp4
Read more
DetailsValidation metrics: mAP50 — 0.599, mAP50:95 — 0.301, Precision — 0.678, Recall — 0.591.
Trained on an RTX 3060 12GB GPU (epoch 2 checkpoint selected).
Limitations: training images are resized to 416px (4K footage requires cropping to catch small details), and missing-PPE classes only trigger when a hand, face, or foot is visible in the frame.
Intended as a monitoring aid rather than a tool for official regulatory certification.










Comments