Using a fixed camera in a hallway or living room to record video of an elderly person walking in a straight line, AI pose estimation and gait analysis extract parameters such as step length (cm), gait speed (m/s), trunk sway angle (left-right tilt), and cadence to evaluate gait stability. When step length is too small (small-shuffling steps), gait speed is too slow, or trunk sway is too large, the system outputs a fall risk level (low / medium / high). The skill helps early detection of declining balance, Parkinson's disease, sarcopenia and other latent issues, and guides family members or caregivers to take preventive actions. Application scenarios: home-based elderly care, nursing homes, rehabilitation centers. The system can be scheduled (e.g., monthly) or auto-triggered during daily walking, generating gait reports and pushing alerts when the risk level is 'medium' or 'high'. Skill features: gait abnormality is a key predictor of falls in the elderly. AI periodic monitoring helps detect degeneration trends in time and take intervention to reduce fall-induced disability. Can be integrated into smart cameras or health-management platforms as a core feature for elderly care.
通过走廊或客厅的固定摄像头拍摄老年人直线行走的视频,利用AI姿态估计和步态分析技术检测步幅长度(cm)、步速(m/s)、躯干摇摆角度(左右倾斜度)以及步频等参数,评估步态稳定性。当步幅过小(小碎步)、步速过慢、躯干摇摆幅度过大时,输出跌倒风险等级(低/中/高)。该技能有助于早期发现老年人平衡能力下降、帕金森病、肌少症等潜在问题,指导家属或护理人员采取预防措施。应用场景:居家养老、养老院、康复中心。系统定期(如每月)或在老年人日常行走时自动触发检测,生成步态报告,当风险等级为'中'或'高'时推送提醒。技能特点:步态异常是老年人跌倒的重要预测因子。通过AI定期监测,可及早发现退化趋势,采取干预措施,降低跌倒致残率。该技能可集成到智能摄像头或健康管理平台中,成为养老监护的核心功能。
假设你是一个专业的老年人步态安全 AI。你的任务是分析老年人直线行走的侧面或正面视频,提取步态参数(步幅、步速、躯干摇摆角、步频),并综合评估跌倒风险等级。不要提供医疗诊断或临床建议,仅输出基于视频的步态客观指标与风险分级。
:查看步态分析历史报告、跌倒风险评估报告清单、老人步态报告清单、查询历史步态记录、显示所有步态分析报告、显示老人跌倒风险诊断报告,查询步态风险预警清单
显示所有跌倒风险报告"、"
查看历史报告"等),必须:
python -m scripts.smyx_elderly_gait_instability_detection_analysis --list --open-id 参数调用 API查询云端的历史报告数据
```
requests>=2.28.0
```
在执行老年人步态不稳/小碎步识别前,必须按以下优先级顺序获取 open-id:
第 1 步:【最高优先级】检查技能所在目录的配置文件(优先)
路径:skills/smyx_common/scripts/config.yaml(相对于技能根目录)
完整路径示例:${OPENCLAW_WORKSPACE}/skills/{当前技能目录}/skills/smyx_common/scripts/config.yaml
→ 如果文件存在且配置了 api-key 字段,则读取 api-key 作为 open-id
↓ (未找到/未配置/api-key 为空)
第 2 步:检查 workspace 公共目录的配置文件
路径:${OPENCLAW_WORKSPACE}/skills/smyx_common/scripts/config.yaml
→ 如果文件存在且配置了 api-key 字段,则读取 api-key 作为 open-id
↓ (未找到/未配置)
第 3 步:检查用户是否在消息中明确提供了 open-id
↓ (未提供)
第 4 步:❗ 必须暂停执行,明确提示用户提供用户名或手机号作为 open-id
⚠️ 关键约束:
-m scripts.smyx_elderly_gait_instability_detection_analysis 处理输入(必须在技能根目录下运行脚本)--input: 本地老年人直线行走视频文件路径--url: 网络老年人直线行走视频 URL 地址(API 服务自动下载)--pet-type: 类别标识,老年人步态安全场景默认 other--open-id: 当前用户的 open-id(必填,按上述流程获取)--list: 显示老年人步态不稳历史分析报告列表清单(可以输入起始日期参数过滤数据范围)--api-key: API 访问密钥(可选)--api-url: API 服务地址(可选,使用默认值)--detail: 输出详细程度(basic/standard/json,默认 json)--output: 结果输出文件路径(可选)用途:调用 API 进行老年人步态不稳/小碎步识别分析,本地文件上传,网络 URL 由 API 服务自动下载)
表格格式输出,包含"
报告名称"、"跌倒风险"、"分析时间"、"点击查看"四列,其中"报告名称"列使用步态不稳识别报告-{记录id}形式拼接, "点击查看"
列使用
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。
| 报告名称 | 跌倒风险 | 分析时间 | 点击查看 |
|----------|----------|----------|----------|
| 步态不稳识别报告-20260312172200001 | high(小碎步 + 躯干摇摆) | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地直线行走视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_elderly_gait_instability_detection_analysis --input /path/to/walk.mp4 --open-id your-open-id
# 分析网络直线行走视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_elderly_gait_instability_detection_analysis --url https://example.com/walk.mp4 --open-id your-open-id
# 显示历史步态识别报告(自动触发关键词:查看步态分析历史报告、跌倒风险评估报告清单等)
python -m scripts.smyx_elderly_gait_instability_detection_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_elderly_gait_instability_detection_analysis --input walk.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_elderly_gait_instability_detection_analysis --input walk.mp4 --open-id your-open-id --output result.json
共 1 个版本