大厅东侧 · 画面预览
全身大部分可见,姿态质量满足监控条件。
diff --git a/docs/current-state.md b/docs/current-state.md index 39e5488..96a3a8b 100644 --- a/docs/current-state.md +++ b/docs/current-state.md @@ -10,7 +10,7 @@ - 旧生产基线:`demo/main.py`、`demo/fall_detection_gui.py`、`demo/detect_fall.py`、`demo/best.pt`。 - V1 代码:`v1/` 目录存在但尚无实现。 - V2 代码:`v2/` 目录存在但尚无实现。 -- 非代码设计工件:docs/ui/silver-pose-ui-ux-spec.md、docs/ui/2026-07-20-html-prototype-plan.md 与 docs/ui/silver-pose-v1-prototype.html 已建立。UI 文档已将正式默认主题定为浅灰蓝底、白色卡片,红色只表示确认摔倒。当前 HTML 仍为历史深色版本,等待单独授权后再按文档重绘;其顶部双 Tab、设置草稿与状态交互仍可作为结构参考。画面、事件和时间均为模拟数据,不连接真实摄像头、模型或网络,也不改变 Phase 1 任务顺序。 +- 非代码设计工件:docs/ui/silver-pose-ui-ux-spec.md、docs/ui/2026-07-20-html-prototype-plan.md、docs/ui/silver-pose-v1-prototype.html 与 docs/ui/silver-pose-v2-prototype.html 已建立。v2 HTML 是符合正式浅色 Windows 规范的当前视觉参考:浅灰蓝底、白色卡片,红色只表示确认摔倒、其弹窗和事件证据;文件名中的 v2 只表示原型设计修订,不能理解为 Go V2 实现已开始。v1 HTML 保留为历史深色对照。两者均使用顶部双 Tab、设置草稿与状态交互,且画面、事件和时间都是模拟数据,不连接真实摄像头、模型或网络,也不改变 Phase 1 任务顺序。 - 测试:暂无 pytest 测试;`python -m compileall -q demo` 已通过。 - 模型:`demo/best.pt` 可加载为 YOLO Pose,类别 `person`,`kpt_shape=[17, 3]`;与 `D:\PythonP\fall_detection\best.pt` 哈希一致。 - 当前标准启动:`./init.ps1`。 diff --git a/docs/ui/2026-07-20-html-prototype-plan.md b/docs/ui/2026-07-20-html-prototype-plan.md index da33de3..d604db5 100644 --- a/docs/ui/2026-07-20-html-prototype-plan.md +++ b/docs/ui/2026-07-20-html-prototype-plan.md @@ -104,6 +104,10 @@ The revised prototype has a horizontal tablist with monitoring and settings tabs Use the approved light Windows palette from the UI specification: a pale blue-gray page background, white cards and toolbars, and semantic borders. Red is reserved exclusively for a confirmed fall and the associated dialog or event evidence. The existing dark HTML prototype must be recolored in a separate approved implementation task; it is not the visual source of truth after this revision. +## Light theme implementation + +The approved repaint is delivered as `docs/ui/silver-pose-v2-prototype.html`. This is a standalone, offline design revision only; the `v2` filename does not begin the Go V2 implementation or alter its V1 acceptance gate. The historical dark `silver-pose-v1-prototype.html` remains unchanged for comparison. The new artifact supports `#settings`, `#confirmed`, and `#offline` hashes for deterministic local visual review of the settings, confirmed-event dialog, and reconnect states. + - Spec coverage: Task 1 implements all specified views, dialog behavior, responsive breakpoints, keyboard paths, state text, offline limitation, and validation conditions. - Placeholder scan: no unresolved placeholder markers or file paths appear in this plan. - Consistency: the three controller state names are consistently `normal`, `confirmed`, and `offline`; the dialog and acknowledgement element IDs are fixed across layout and behavior. diff --git a/docs/ui/silver-pose-v2-prototype.html b/docs/ui/silver-pose-v2-prototype.html new file mode 100644 index 0000000..35e6870 --- /dev/null +++ b/docs/ui/silver-pose-v2-prototype.html @@ -0,0 +1,688 @@ + + +
+ + + +展示同一人员的姿态和事件状态。演示数据,未连接真实摄像头或模型。
+全身大部分可见,姿态质量满足监控条件。
原型仅展示摘要;正式版由本地 JSONL 事件记录提供。
编辑的是非敏感草稿配置。保存后仅在下一次开始监控时生效,当前运行配置保持不变。
+用于区分正在监控的快照和下一次启动将采用的草稿。
真实来源只由本地环境变量或未跟踪配置提供。
此原型不读取、保存或回显来源地址及其凭证。
只读模型来源信息;原型不会执行推理。
姿态输出不等同于摔倒概率;事件判断由时序状态机负责。
这些值为原型演示字段。修改后会标为“编辑中”,不会热修改实时监控。