Construction Site Safety Hazard Detection

AI → Human

AI analyzes site camera feeds to detect PPE violations and fall risks in real time.

5 nodes · 5 edgesconstruction
eventagenthumansystem
Visual
Site Camera Feedevent

Continuous video stream from fixed and PTZ cameras on site.

sequentialAI Hazard Detection
AI Hazard Detectionagent

Detect missing PPE, unauthorized zone entry, fall risk, and equipment hazards.

conditionalSeverity Classification
timeoutSite Manager Alert
Severity Classificationsystem

Critical (immediate danger), high (violation), medium (near-miss).

sequentialSite Manager Alert
Site Manager Alertapi

Instant alert with screenshot, location, and hazard type.

sequentialImmediate Corrective Action
Immediate Corrective Actionhuman

Site manager dispatches safety officer, halts work if critical.

uc-safety-hazard-alert.osop.yaml
osop_version: "1.0"
id: "safety-hazard-alert"
name: "Construction Site Safety Hazard Detection"
description: "AI analyzes site camera feeds to detect PPE violations and fall risks in real time."

nodes:
  - id: "camera_feed"
    type: "event"
    name: "Site Camera Feed"
    description: "Continuous video stream from fixed and PTZ cameras on site."

  - id: "hazard_detect"
    type: "agent"
    subtype: "llm"
    name: "AI Hazard Detection"
    description: "Detect missing PPE, unauthorized zone entry, fall risk, and equipment hazards."
    security:
      risk_level: "high"

  - id: "severity_classify"
    type: "system"
    name: "Severity Classification"
    description: "Critical (immediate danger), high (violation), medium (near-miss)."

  - id: "manager_alert"
    type: "api"
    name: "Site Manager Alert"
    description: "Instant alert with screenshot, location, and hazard type."

  - id: "immediate_action"
    type: "human"
    subtype: "review"
    name: "Immediate Corrective Action"
    description: "Site manager dispatches safety officer, halts work if critical."
    security:
      approval_gate: true

edges:
  - from: "camera_feed"
    to: "hazard_detect"
    mode: "sequential"
  - from: "hazard_detect"
    to: "severity_classify"
    mode: "conditional"
    when: "hazard.detected == true"
  - from: "severity_classify"
    to: "manager_alert"
    mode: "sequential"
  - from: "manager_alert"
    to: "immediate_action"
    mode: "sequential"
  - from: "hazard_detect"
    to: "manager_alert"
    mode: "timeout"
    timeout_sec: 5
    label: "Bypass classification if critical latency"