skye.yue 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
2026-04-28 19:00:23 +08:00
2026-04-28 19:00:23 +08:00
Description
No description provided
804 KiB
Languages
Python 68.1%
JavaScript 18.7%
HTML 8.4%
CSS 4.3%
Dockerfile 0.4%
Other 0.1%