15 Commits

Author SHA1 Message Date
0c3895c24c fix: preserve handled display cabinet cases 2026-06-15 16:08:12 +08:00
7b9ec2e148 fix: reduce alarm snapshot label obstruction 2026-06-15 14:21:31 +08:00
fa2c90e250 fix: stabilize cold display occupancy detection 2026-06-15 13:40:20 +08:00
1059850378 feat: add cold display alarm flow and labeled snapshots 2026-06-15 12:59:25 +08:00
46889c0621 feat: draw calibration overlay on alarm snapshots
Before JPEG encoding and OTA upload, paint the configured [[zones]]
polygons (yellow) and the [trash].roi (red) directly onto a copied
Frame.rgb so uploaded alarm snapshots visually carry the calibrated
regions. Normalized coordinates are clamped to image bounds, the source
frame stays untouched for downstream runtime processing, and
non-alert/disabled paths are unchanged. Adds stdlib-only polygon
fill/outline helpers plus focused unit tests.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-15 12:34:46 +08:00
45e2cf70f7 feat: enrich webhook payloads with downstream event table fields
Add missing fields (event_code, camera_ip, started_at, ended_at,
dwell_seconds, is_discarded, alerted_at, etc.) to both batch_event
and case_event payloads. Introduce source_id config for payload
injection and infer_camera_ip to extract IP from RTSP stream URL.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-10 17:04:58 +08:00
04729a0fd1 feat: upload alarm snapshots to webhook payloads 2026-06-09 13:01:15 +08:00
8f516fdc01 feat: add webhook retry queue 2026-06-09 11:32:34 +08:00
9d791be174 feat: add webhook case management 2026-06-09 11:13:56 +08:00
Yoilun
8b5bbff364 feat: stabilize cold display runtime deployment 2026-05-29 14:48:01 +08:00
Yoilun
c81a20b2ea feat: show runtime diagnostics in management summary 2026-04-28 19:03:03 +08:00
Yoilun
b1c39d3fa7 feat: add rtsp runtime pipeline 2026-04-28 19:00:23 +08:00
Yoilun
5b747bd1d8 fix: save calibration with config action 2026-04-27 11:35:31 +08:00
Yoilun
c4f9dab049 feat: add management web console 2026-04-27 11:28:57 +08:00
Yoilun
36dc3548e6 feat: initialize cold display guard 2026-04-27 10:59:29 +08:00