61b43e276d767e3f98a86053521d9fd96a03c40e
VideoSource STREAM connects to the real camera (1920x1080, monotonic timestamps) and a bad address goes to retrying without alarm. Credentials stay in the SILVER_POSE_RTSP_URL env var only; no address in the repo. GUI preview and live pose overlay remain to be smoked on Windows. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Silver Pose
Silver Pose 是一个面向固定机位大厅或走廊的本地摔倒事件演示系统。目标是向客户演示“RTSP 实时视频 → 人体姿态与人员跟踪 → 突发倒地事件 → 红色画面、声音、弹窗和事件截图”的完整闭环。
当前阶段是重新建立工程化 V1。旧代码保留在
demo/作为可运行基线;v1/将存放 Python 正式实现;v2/将在 V1 验收后存放 Go 部署实现。
项目结构
silver_pose/
├── demo/ # 旧 Python 演示基线,含 best.pt 与样例视频
├── v1/ # Python V1(待任务 T-101 创建)
├── v2/ # Go V2(V1 验收后才开始)
├── docs/ # Harness Coding 文档
├── AGENTS.md # AI coding agent 入口
├── CLAUDE.md # Claude 薄入口
├── init.ps1 # Windows 统一启动与基础验证入口
└── progress.md # 只追加执行流水
当前可验证基线
在 Windows PowerShell、仓库根目录运行:
./init.ps1
它会检查当前 Python 环境并编译 demo/。图形界面可用:
Set-Location demo
python main.py
运行 GUI 或 RTSP 演示前,必须在本机准备已安装的 PyQt5、OpenCV、NumPy 与 Ultralytics 环境。真实 RTSP 凭证不得提交。
文档入口
所有 agent 从 docs/00-ai-start-here.md 开始。人类可从 docs/README.md 查看完整导航。
模型说明
demo/best.pt 是与 D:\PythonP\fall_detection 训练工程中 best.pt 哈希一致的 YOLOv8 Pose 权重:1 个 person 类,17 个 COCO 关键点。它提供姿态,不提供“摔倒”标签;摔倒由 V1/V2 的质量门控、跟踪和时序状态机判定。
Languages
Python
49.8%
Go
47.6%
PowerShell
2.5%
Batchfile
0.1%