Commit Graph

26 Commits

Author SHA1 Message Date
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
547fb6290f fix: use dynamic upstream resolver in nginx api proxy
Add an explicit Docker resolver and switch the /api/ proxy to a
variable-based upstream so nginx re-resolves cold-display-guard-api
instead of caching stale DNS after the backend container restarts.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-15 11:43:48 +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
e919ffd561 Merge branch 'feat/alarm-snapshot-upload' 2026-06-09 13:01:25 +08:00
04729a0fd1 feat: upload alarm snapshots to webhook payloads 2026-06-09 13:01:15 +08:00
523f928303 Merge branch 'feat/webhook-retry-queue' 2026-06-09 11:32:53 +08:00
8f516fdc01 feat: add webhook retry queue 2026-06-09 11:32:34 +08:00
81f170924c Merge branch 'feat/webhook-case-management' 2026-06-09 11:17:37 +08:00
9d791be174 feat: add webhook case management 2026-06-09 11:13:56 +08:00
490b3089d2 docs: update agent workflow instructions 2026-06-04 15:58:04 +08:00
Yoilun
8b5bbff364 feat: stabilize cold display runtime deployment 2026-05-29 14:48:01 +08:00
Yoilun
ea5f9b1b07 Save calibration payload format and live config 2026-05-07 17:58:32 +08:00
Yoilun
96f5c14a26 feat: redesign web management console 2026-04-29 16:26:42 +08:00
Yoilun
aff2b1828e docs: plan web industrial console redesign 2026-04-29 16:09:36 +08:00
Yoilun
08c5d2e955 fix: separate runtime refresh from config reload 2026-04-29 15:53: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
be3d2ac3af fix: preserve calibration draft on refresh 2026-04-27 12:55:46 +08:00
Yoilun
cda586a197 fix: align calibration clicks with displayed frame 2026-04-27 12:50:49 +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
b3672c564a feat: add rtsp snapshot calibrator 2026-04-27 11:12:00 +08:00
Yoilun
36dc3548e6 feat: initialize cold display guard 2026-04-27 10:59:29 +08:00