Excited to share SafeSite-AI, an open-source, edge-native autonomous safety supervisor designed for harsh, bandwidth-constrained construction environments.
Developed as a submission for the AMD Lemonade Developer Challenge, this project combines high-performance edge hardware with local multimodal reasoning to automate OSHA 29 CFR 1926 hazard auditing with zero cloud latency.
Core Architecture & Innovation
-
Stage 1 (Edge Perception): Leverages a local YOLOv11n object detector to track personnel and heavy machinery in milliseconds, computing spatial proximity vectors and danger zone geometries locally.
-
Stage 2 (Local Multimodal Reasoning): Dispatches conditioned spatial prompts to the AMD Lemonade SDK running locally at http://localhost:13305/v1 (supporting models like qwen2.5-vl-7b-instruct and llama-3.2-11b-vision via AMD Ryzen™ AI NPU / ROCm / Vulkan acceleration).
-
Autonomous Tool Loop: Empowers the local model with deterministic Python tools to query OSHA standards, calculate swing clear zones, audit PPE compliance, and compile formal inspection reports.
Why Local Edge AI with AMD Lemonade SDK?
-
Sub-Second Latency (~240ms): Delivers 16x faster response times than cloud APIs, critical when heavy machinery operates at speed.
-
100% Offline Reliability: Operates completely air-gapped in basements, high-rise shafts, and remote sites without internet.
-
Zero Egress Bandwidth & Absolute Privacy: Keeps 1080p/4K security video and worker PII entirely on-device, avoiding cloud transmission costs and privacy risks.
Check out the code and video demo on the SafeSite-AI GitHub Repository and watch the full walkthrough on YouTube. Distributed under the Apache 2.0 License—feedback and contributions from the AMD developer community are most welcome!
Excellent project! SafeSite-AI demonstrates how edge AI can address real-world construction safety challenges where low latency, privacy, and offline reliability are essential. The combination of YOLOv11n for rapid perception and local multimodal reasoning through the AMD Lemonade SDK is especially impressive. I also appreciate the deterministic tool-based approach for OSHA compliance checks, PPE auditing, danger-zone calculations, and formal reporting.
Keeping sensitive video and worker information on-device is a major advantage for both privacy and operational cost. Have you tested the system under difficult site conditions such as low lighting, dust, occlusion, or workers wearing partially visible PPE? It would also be interesting to learn how false positives are managed before alerts or inspection findings are issued. Great work, and thank you for making the project open source!
Hi Ganesh, thanks for the great questions and the support!
Regarding difficult site conditions, the current YOLOv11n implementation relies heavily on aggressive data augmentation to handle standard low-lighting and partial occlusion. However, heavy dust and severe occlusion remain challenging for pure RGB camera feeds. To tackle this, I am actively exploring the integration of 3D LiDAR point cloud data into the edge perception stage, which would allow the system to maintain accurate spatial geometry tracking even when visual fidelity drops significantly.
For false positive management, the architecture leans heavily on the local agentic workflows. Instead of triggering an immediate alert based purely on a YOLO bounding box confidence score, the pipeline uses the local Vision-Language Model as a secondary reasoning layer. When the perception stage flags a potential danger zone breach or missing PPE, the cropped frame and spatial vectors are passed to the local VLM. The model evaluates the contextual nuance—verifying if a worker is actually missing a safety vest or if it is just momentarily obscured by carried equipment—before officially compiling an inspection finding or emitting an alert.
Thanks again for checking out the project and for the valuable feedback!
1 Like