{
  "site_id": "shengmuglass",
  "camera_id": "tempering_load_cam_01",
  "description": "Phase A1 load-side zones for 強化上片 CCTV. Red rollers on left; wait on open floor center/right. Polygons in normalized [x,y] 0-1.",
  "image_size_hint": [1920, 1080],
  "zones": [
    {
      "zone_id": "roller_table_work",
      "polygon_norm": [
        [0.04, 0.22],
        [0.40, 0.22],
        [0.42, 0.70],
        [0.08, 0.78],
        [0.02, 0.55]
      ],
      "event_types": ["activity_started", "activity_ended"]
    },
    {
      "zone_id": "wait_rest",
      "polygon_norm": [
        [0.38, 0.48],
        [0.88, 0.48],
        [0.95, 0.98],
        [0.28, 0.98],
        [0.32, 0.62]
      ],
      "event_types": ["activity_started", "activity_ended"]
    },
    {
      "zone_id": "control_desk",
      "polygon_norm": [
        [0.00, 0.55],
        [0.12, 0.55],
        [0.14, 0.88],
        [0.00, 0.92]
      ],
      "event_types": ["activity_started", "activity_ended"]
    }
  ],
  "roller_glass_roi": {
    "polygon_norm": [
      [0.08, 0.28],
      [0.36, 0.28],
      [0.38, 0.52],
      [0.10, 0.58]
    ]
  },
  "event_rules": {
    "present_confirm_frames": 1,
    "dwell_frames": 3,
    "leave_miss_frames": 2,
    "cycle_min_occupy_sec": 8,
    "cycle_min_advance_sec": 3,
    "cycle_min_gap_sec": 20
  }
}
