TYC 廠區安全事件偵測 · 稽核台

16 RUNS · GEOMETRY + STATE MACHINE + OPEN-VOCAB / POSE + VLM ADJUDICATION
原型核心三場景 (Phase 1 Pilot)

柵欄機損壞

✓ 可上線
gate_lot_cam_01 · 13:33:35 · 480f @ 11.99fps
barrier_strike_risk ×1barrier_damaged ×1VLM 2/2 confirmed

信心分數範圍 0.85–0.85、事件長度 2.1–2.1 秒。

行人穿越巢畫線/走路看手機

✓ 可上線
gate_walkway_cam_01 · 07:10:00 · 720f @ 11.99fps
distracted_walking ×1pedestrian_crossing_vehicle_zone ×1VLM 2/2 confirmed

信心分數範圍 0.81–0.81、事件長度 6.8–12.3 秒。

A09 貨物傾倒

✕ 不可行(as named)
material_hall_ch07 · 14:04:20 · 723f @ 10.00fps
crate_tipped ×8floor_object_appeared ×2VLM 2/8 confirmed(另 2 筆未檢查)

信心分數範圍 0.15–0.85、事件長度 21.5–34.6 秒。

屋頂與垂直作業安全 (Dwell & Height)

屋頂有人員逗留 1

✓ 可上線
safety_roof_cam_01 · 15:26:10 · 236f @ 6.00fps
person_in_restricted_area ×2VLM 2/2 confirmed

信心分數範圍 0.78–0.78、事件長度 22.7–39.2 秒。

屋頂有人員逗留 2

✓ 可上線
safety_roof_cam_01 · 15:26:50 · 235f @ 6.00fps
person_in_restricted_area ×2VLM 2/2 confirmed

信心分數範圍 0.78–0.78、事件長度 39.0–39.0 秒。

貨梯違規乘載人員

✓ 可上線(樣本數小)
freight_lift_cam_01 · 08:20:40 · 148f @ 6.00fps
person_in_restricted_area ×1VLM 1/1 confirmed

信心分數範圍 0.78–0.78、事件長度 21.8–21.8 秒。

門口逗留與行人分心 (Gate Loitering & Pose)

大門口人員滯留 1

! 遠景追蹤斷裂
gate_loiter_cam_01 · 14:17:00 · 720f @ 11.99fps
person_loitering ×7person_transiting ×2VLM 1/2 confirmed(另 7 筆未檢查)

信心分數範圍 0.81–0.81、事件長度 5.2–29.2 秒。

大門口人員滯留 2

✓ 可上線
gate_loiter_cam_01 · 14:17:00 · 708f @ 11.99fps
person_loitering ×5VLM 2/2 confirmed(另 3 筆未檢查)

信心分數範圍 0.81–0.81、事件長度 6.0–52.3 秒。

走路看手機 2(骨架姿態)

✓ 可上線
gate_parking_walk_cam · 15:08:25 · 120f @ 11.99fps
distracted_walking ×1VLM 1/1 confirmed

信心分數範圍 0.81–0.81、事件長度 2.6–2.6 秒。

保稅倉出入與門態監控 (Bonded Door State)

保稅倉門開啟

✓ 可上線
bonded_door_cam_01 · 09:06:09 · 60f @ 6.00fps
door_opened ×1VLM 1/1 confirmed

信心分數範圍 0.77–0.77、訊號階躍 7.01σ。

保稅倉門關閉

✕ 門檻不通用
bonded_door_cam_01 · 09:06:40 · 90f @ 6.00fps
VLM 0/1 confirmed

本次無事件(詳見可行性總覽的說明)。

車輛裝卸與救護車通報 (Vehicle & Ambulance)

保稅貨櫃進入 30 號碼頭

! 泊位待標定
dock30_cam · 10:00:00 · 120f @ 6.00fps
vehicle_present ×2VLM 1/1 confirmed(另 1 筆未檢查)

信心分數範圍 0.15–0.78、事件長度 4.7–16.3 秒。

保稅貨櫃離開 30 號碼頭

! 泊位待標定
dock30_cam · 10:00:00 · 60f @ 6.00fps
vehicle_present ×2VLM 2/2 confirmed

信心分數範圍 0.78–0.81、事件長度 3.5–5.8 秒。

救護車進廠通報 1

! 需換 open-vocab 主軸
gate_lot_cam_01 · 14:19:30 · 60f @ 6.00fps
vehicle_present ×4VLM 2/2 confirmed(另 2 筆未檢查)

信心分數範圍 0.15–0.18、事件長度 1.3–5.3 秒、open-vocab 救護車信心 0.00–0.50。

救護車進廠通報 2

✓ 可上線
gate_lot_cam_01 · 14:19:30 · 120f @ 11.99fps
vehicle_left_zone ×1vehicle_present ×1VLM 2/2 confirmed

信心分數範圍 0.18–0.78、事件長度 1.6–4.8 秒、open-vocab 救護車信心 0.79–0.90。

非影像可解問題 (Out of Scope)

撿料員零件少發

✕ 不是影像問題
未執行偵測管線(問題本質不在影像可解範圍內)

客戶自行標註「無法辨識」。應發數量在 WMS/SAP,不在鏡頭裡;實發數量也因箱壁遮擋量不到(目標估計僅 5×5 px)。這是資訊問題,不是解析度問題 —— 建議改推秤重或掃碼,CCTV 負責稽核軌跡(誰、何時、動了哪一箱)。

怎麼開

tyc-factory/ 執行 python3 -m http.server 8771, 開 http://127.0.0.1:8771/index.html
稽核台支援:拖曳時間軸、方向鍵逐格、點訊號條跳轉、點事件跳到事件起點, 以及 overlayhud 兩個獨立開關 —— 可以只看原始畫面配判定數值,或只看疊圖不看規則。
每個判準都附離門檻幾個 σ,事件附證據強度分數(0.15–0.85,未校準)。 狀態徽章(✓/!/✕)的判定依據見上方「可行性總覽」連結,不是只看信心分數換算的顏色。

產出檔案

runs/<run>/detections.jsonl 偵測快取 · frames_state.jsonl 逐格狀態 · events.json 事件 · vlm_adjudication.json VLM 判定 · hud.jsonl 逐格 HUD 數值 · overlay/ 疊圖 · viewer.html 獨立稽核台 · configs/*.zones.json 區域與門檻 · 影像一律 .webp · 本頁由 scripts/build_index.py 直接從 events.json/vlm_adjudication.json 產生,不手打數字