Install
openclaw skills install smyx-facial-hrv-trend-monitoring-analysisUsing everyday cameras (laptop camera, smartphone front camera, smart mirror), the system records 30-60 seconds of facial video and uses remote photoplethysmography (rPPG) to extract subtle color variations from facial skin micro-circulation, from which it computes heart-rate-variability (HRV) metrics including SDNN (standard deviation of all normal sinus RR intervals) and RMSSD (root mean square of successive RR-interval differences). It supports long-term trend analysis and generates daily/weekly HRV curves. Applicable to stress assessment, cardiovascular health monitoring and fatigue management. Application scenarios: home health monitoring, enterprise employee health management, physical-examination centers, smart mirrors. Users sit still in front of the camera for 1 minute daily; the system computes HRV and records the trend, pushing 'high stress' or 'fatigue accumulation' reminders when HRV drops significantly. Skill features: HRV is a key indicator of autonomic-nervous-system health, related to stress, fatigue and cardiovascular risk. Contact-free measurement via everyday cameras lowers the usage threshold and lets more people keep track of their recovery state and stress level. Can serve as a value-add feature in smart-office or smart elderly-care scenarios. | 通过日常摄像头(如电脑摄像头、手机前置摄像头)拍摄面部视频(30-60秒),利用光电容积描记技术(远程光电容积描记术,rPPG)提取面部皮肤微循环的微弱色度变化,从中计算心率变异性(HRV)指标,包括SDNN(全部正常窦性心搏间期的标准差)、RMSSD(相邻心搏间期差值的均方根)等。支持长期趋势分析,生成每日/每周HRV变化曲线。该技能可用于压力评估、心血管健康监测及疲劳管理。应用场景:居家健康监测、企业员工健康管理、体检中心、智能镜子。用户每日对着摄像头静坐1分钟,系统自动计算HRV并记录趋势,当HRV显著下降时推送'压力过大'或'疲劳累积'提醒。技能特点:HRV是衡量自主神经系统健康的重要指标,与压力、疲劳、心血管风险相关。通过日常摄像头无接触测量,可降低使用门槛,让更多人持续关注自身恢复状态和压力水平,助力健康管理。该技能可作为增值功能集成到智慧办公、健康养老等场景。
openclaw skills install smyx-facial-hrv-trend-monitoring-analysisUsing everyday cameras (laptop camera, smartphone front camera, smart mirror), the system records 30-60 seconds of facial video and uses remote photoplethysmography (rPPG) to extract subtle color variations from facial skin micro-circulation, from which it computes heart-rate-variability (HRV) metrics including SDNN (standard deviation of all normal sinus RR intervals) and RMSSD (root mean square of successive RR-interval differences). It supports long-term trend analysis and generates daily/weekly HRV curves. Applicable to stress assessment, cardiovascular health monitoring and fatigue management. Application scenarios: home health monitoring, enterprise employee health management, physical-examination centers, smart mirrors. Users sit still in front of the camera for 1 minute daily; the system computes HRV and records the trend, pushing 'high stress' or 'fatigue accumulation' reminders when HRV drops significantly. Skill features: HRV is a key indicator of autonomic-nervous-system health, related to stress, fatigue and cardiovascular risk. Contact-free measurement via everyday cameras lowers the usage threshold and lets more people keep track of their recovery state and stress level. Can serve as a value-add feature in smart-office or smart elderly-care scenarios.
通过日常摄像头(如电脑摄像头、手机前置摄像头)拍摄面部视频(30-60秒),利用光电容积描记技术(远程光电容积描记术,rPPG)提取面部皮肤微循环的微弱色度变化,从中计算心率变异性(HRV)指标,包括SDNN(全部正常窦性心搏间期的标准差)、RMSSD(相邻心搏间期差值的均方根)等。支持长期趋势分析,生成每日/每周HRV变化曲线。该技能可用于压力评估、心血管健康监测及疲劳管理。应用场景:居家健康监测、企业员工健康管理、体检中心、智能镜子。用户每日对着摄像头静坐1分钟,系统自动计算HRV并记录趋势,当HRV显著下降时推送'压力过大'或'疲劳累积'提醒。技能特点:HRV是衡量自主神经系统健康的重要指标,与压力、疲劳、心血管风险相关。通过日常摄像头无接触测量,可降低使用门槛,让更多人持续关注自身恢复状态和压力水平,助力健康管理。该技能可作为增值功能集成到智慧办公、健康养老等场景。
假设你是一个专业的生理信号分析 AI。你的任务是分析人脸面部视频,使用远程光电容积描记技术(rPPG)提取皮肤微循环波动信号,计算心率变异性(HRV)指标。输出 SDNN、RMSSD 以及长期趋势(需结合历史数据)。不要提供医疗诊断或临床心血管评估,仅输出基于信号处理的定量指标与趋势提示。
python -m scripts.smyx_facial_hrv_trend_monitoring_analysis --list --open-id 参数调用 API
查询云端的历史报告数据requests>=2.28.0
在执行成人面部 HRV 趋势监测前,必须按以下优先级顺序获取 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_facial_hrv_trend_monitoring_analysis 处理输入(必须在技能根目录下运行脚本)--input: 本地成人静坐面部视频文件路径(30-60秒)--url: 网络成人静坐面部视频 URL 地址(API 服务自动下载)--pet-type: 类别标识,rPPG 生理信号分析场景默认 other--open-id: 当前用户的 open-id(必填,按上述流程获取)--list: 显示成人面部 HRV 历史监测报告列表清单(可以输入起始日期参数过滤数据范围)--api-key: API 访问密钥(可选)--api-url: API 服务地址(可选,使用默认值)--detail: 输出详细程度(basic/standard/json,默认 json)--output: 结果输出文件路径(可选)面部HRV趋势监测报告-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | HRV(SDNN/RMSSD) | 分析时间 | 点击查看 |
|---|---|---|---|
| 面部HRV趋势监测报告-20260312172200001 | SDNN 38ms / RMSSD 26ms(近7天 ↓18%) | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地 30-60 秒静坐面部视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_facial_hrv_trend_monitoring_analysis --input /path/to/sit_30s.mp4 --open-id your-open-id
# 分析网络 30-60 秒静坐面部视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_facial_hrv_trend_monitoring_analysis --url https://example.com/sit_30s.mp4 --open-id your-open-id
# 显示历史 HRV 趋势监测报告(自动触发关键词:查看 HRV 历史报告、心率变异性报告清单等)
python -m scripts.smyx_facial_hrv_trend_monitoring_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_facial_hrv_trend_monitoring_analysis --input sit.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_facial_hrv_trend_monitoring_analysis --input sit.mp4 --open-id your-open-id --output result.json