Install
openclaw skills install smyx-elderly-tachypnea-detection-analysisUsing a fixed bedroom camera (infrared or low-light), the system analyzes chest/abdominal motion of the elderly at rest (sleeping or quietly lying down) and computes the respiratory rate (breaths per minute). When the respiratory rate exceeds a preset upper bound (default 24 bpm; the normal resting range for the elderly is generally 12-20 bpm), the system outputs a 'tachypnea' alert, reminding family members or caregivers to pay attention to possible cardiopulmonary diseases, fever, or respiratory infections. Application scenarios: home-based elderly care, nursing homes, rehabilitation wards. The system monitors continuously; when an elevated respiratory rate persists, alerts are pushed proactively. Skill features: tachypnea is an early signal of pneumonia, heart failure, acute exacerbation of COPD and other conditions. AI auto-monitoring helps families detect problems in time and avoid delayed treatment. Can be integrated into smart cameras or elderly-care platforms to improve at-home health safety. | 通过卧室固定摄像头(红外或微光),在老年人静息(睡眠或静卧)状态下分析其胸腹部起伏运动,计算呼吸频率(次/分钟)。当呼吸频率超过正常上限(默认24次/分,老年人静息正常值一般为12-20次/分)时,输出'呼吸急促'预警,提示家属或护理人员关注老年人是否有心肺疾病、发热或呼吸系统感染等潜在问题。应用场景:居家养老、养老院、康复病房。系统持续监测,发现呼吸频率持续升高时主动推送警报。技能特点:呼吸急促是肺炎、心衰、慢阻肺急性加重等疾病的早期信号。通过AI自动监测,可帮助家属及时发现问题,避免延误治疗。该技能可集成到智能摄像头或养老平台中,提升老年人居家健康安全水平。
openclaw skills install smyx-elderly-tachypnea-detection-analysisUsing a fixed bedroom camera (infrared or low-light), the system analyzes chest/abdominal motion of the elderly at rest (sleeping or quietly lying down) and computes the respiratory rate (breaths per minute). When the respiratory rate exceeds a preset upper bound (default 24 bpm; the normal resting range for the elderly is generally 12-20 bpm), the system outputs a 'tachypnea' alert, reminding family members or caregivers to pay attention to possible cardiopulmonary diseases, fever, or respiratory infections. Application scenarios: home-based elderly care, nursing homes, rehabilitation wards. The system monitors continuously; when an elevated respiratory rate persists, alerts are pushed proactively. Skill features: tachypnea is an early signal of pneumonia, heart failure, acute exacerbation of COPD and other conditions. AI auto-monitoring helps families detect problems in time and avoid delayed treatment. Can be integrated into smart cameras or elderly-care platforms to improve at-home health safety.
通过卧室固定摄像头(红外或微光),在老年人静息(睡眠或静卧)状态下分析其胸腹部起伏运动,计算呼吸频率(次/分钟)。当呼吸频率超过正常上限(默认24次/分,老年人静息正常值一般为12-20次/分)时,输出'呼吸急促'预警,提示家属或护理人员关注老年人是否有心肺疾病、发热或呼吸系统感染等潜在问题。应用场景:居家养老、养老院、康复病房。系统持续监测,发现呼吸频率持续升高时主动推送警报。技能特点:呼吸急促是肺炎、心衰、慢阻肺急性加重等疾病的早期信号。通过AI自动监测,可帮助家属及时发现问题,避免延误治疗。该技能可集成到智能摄像头或养老平台中,提升老年人居家健康安全水平。
假设你是一个专业的老年人呼吸健康监测 AI。你的任务是分析老年人静息状态下胸腹部的视频,检测呼吸周期,计算呼吸频率(次/分钟)。当呼吸频率超过阈值(默认 24 次/分)时,输出预警。不要提供医疗诊断或临床建议,仅输出基于视觉的呼吸频率数值与异常提示。
python -m scripts.smyx_elderly_tachypnea_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_tachypnea_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: 结果输出文件路径(可选)呼吸急促识别报告-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 呼吸频率 | 分析时间 | 点击查看 |
|---|---|---|---|
| 呼吸急促识别报告-20260312172200001 | 26 次/分(warning) | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地静息胸腹部监控视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_elderly_tachypnea_detection_analysis --input /path/to/chest.mp4 --open-id your-open-id
# 分析网络静息胸腹部监控视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_elderly_tachypnea_detection_analysis --url https://example.com/chest.mp4 --open-id your-open-id
# 显示历史呼吸急促识别报告(自动触发关键词:查看呼吸急促历史报告、呼吸频率报告清单等)
python -m scripts.smyx_elderly_tachypnea_detection_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_elderly_tachypnea_detection_analysis --input chest.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_elderly_tachypnea_detection_analysis --input chest.mp4 --open-id your-open-id --output result.json