5 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
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
04729a0fd1 feat: upload alarm snapshots to webhook payloads 2026-06-09 13:01:15 +08:00