VisionOps
AI That Protects Before Accidents Happen.
Created on 26th March 2026
•
VisionOps
AI That Protects Before Accidents Happen.
The problem VisionOps solves
Industrial environments like construction sites and factories face high safety risks, where workers are required to wear Personal Protective Equipment (PPE) such as helmets and safety vests. However, PPE compliance is typically monitored manually through supervisors or CCTV footage, which is inconsistent, labor-intensive, and often reactive.
As a result:
-Safety violations go unnoticed in real time
-Accidents occur due to delayed intervention
-There is no scalable way to monitor large workforces continuously
Our system addresses this by:
Continuously monitoring workers using AI-based computer vision
Detecting whether required PPE is being worn in real time
Instantly flagging violations and enabling proactive intervention
Reducing dependency on manual supervision
Improving overall workplace safety and compliance
Challenges we ran into
The biggest hurdle was a class-mapping mismatch between training and app integration.
My dataset classes were correct in Roboflow, but different parts of the pipeline were expecting slightly different labels (for example no_gloves vs no-gloves) and sometimes relying on hardcoded class order. That caused wrong labels in predictions even when the model itself was performing well.
I also hit path issues because the dataset folder name had spaces, which broke some hardcoded training scripts.
How I solved it
I made the training flow read class names directly from data.yaml every time.
I removed hardcoded assumptions about class order and used the model’s exported names mapping.
I generated a class map artifact for integration so backend and frontend both consume the same source of truth.
I replaced brittle fixed paths with auto-detection of dataset root and YAML location.
I added quick validation/inference checks right after training to catch label mismatches immediately.
Outcome
After these fixes, the training pipeline became reproducible and integration-safe:
the same class IDs and names are now consistent across notebook training, backend inference, and frontend display.
Technologies used