Install
openclaw skills install smyx-adult-facial-fatigue-stress-index-analysisUsing a smart mirror or fixed camera, the system analyzes high-resolution adult facial images or short videos to detect physiological features such as under-eye bag area (puffiness/shadow under the lower eyelid), dark-circle grayscale (darkness around the eyes), mouth-corner drop angle (angle between corner of mouth and horizontal), and glabellar frown lines (vertical lines between the brows), and computes a comprehensive fatigue/stress index (0-100). The skill supports workplace health management and personal state monitoring, helping users understand their energy level. Application scenarios: smart mirrors, office health displays, smartphone selfie apps, personal health management. The system auto-evaluates daily or per use, outputs the fatigue index, and suggests rest, hydration, or relaxation. Skill features: modern workers commonly face fatigue and stress that often go unnoticed. Non-contact facial analysis lets individuals and enterprises understand the state in time, adjust work rhythm, and prevent overwork. Can be integrated into smart mirrors, attendance terminals, or health management systems as a practical employee-care tool. | 通过智能镜子或固定摄像头,分析成人面部的高清图像或视频,检测眼袋面积(下眼睑区域的浮肿或阴影面积)、黑眼圈灰度(眼眶区域的暗沉程度)、嘴角下垂角度(口角与水平线的夹角)以及皱眉纹(眉间川字纹)等生理特征,综合计算疲劳/压力指数(0-100分)。该技能可用于职场健康管理、个人状态监测,辅助了解自身精力水平。应用场景:智能镜子、办公室健康屏、手机APP自拍、个人健康管理。系统每日或每次使用时自动评估,输出疲劳指数,并建议休息、补水或进行放松训练。技能特点:现代职场人普遍面临疲劳和压力问题,但常被忽视。通过非接触式面部分析,可帮助个人和企业及时了解状态,调整工作节奏,预防过劳。该技能可集成到智能镜子、考勤终端或健康管理系统中,成为员工关怀的实用工具。
openclaw skills install smyx-adult-facial-fatigue-stress-index-analysisUsing a smart mirror or fixed camera, the system analyzes high-resolution adult facial images or short videos to detect physiological features such as under-eye bag area (puffiness/shadow under the lower eyelid), dark-circle grayscale (darkness around the eyes), mouth-corner drop angle (angle between corner of mouth and horizontal), and glabellar frown lines (vertical lines between the brows), and computes a comprehensive fatigue/stress index (0-100). The skill supports workplace health management and personal state monitoring, helping users understand their energy level. Application scenarios: smart mirrors, office health displays, smartphone selfie apps, personal health management. The system auto-evaluates daily or per use, outputs the fatigue index, and suggests rest, hydration, or relaxation. Skill features: modern workers commonly face fatigue and stress that often go unnoticed. Non-contact facial analysis lets individuals and enterprises understand the state in time, adjust work rhythm, and prevent overwork. Can be integrated into smart mirrors, attendance terminals, or health management systems as a practical employee-care tool.
通过智能镜子或固定摄像头,分析成人面部的高清图像或视频,检测眼袋面积(下眼睑区域的浮肿或阴影面积)、黑眼圈灰度(眼眶区域的暗沉程度)、嘴角下垂角度(口角与水平线的夹角)以及皱眉纹(眉间川字纹)等生理特征,综合计算疲劳/压力指数(0-100分)。该技能可用于职场健康管理、个人状态监测,辅助了解自身精力水平。应用场景:智能镜子、办公室健康屏、手机APP自拍、个人健康管理。系统每日或每次使用时自动评估,输出疲劳指数,并建议休息、补水或进行放松训练。技能特点:现代职场人普遍面临疲劳和压力问题,但常被忽视。通过非接触式面部分析,可帮助个人和企业及时了解状态,调整工作节奏,预防过劳。该技能可集成到智能镜子、考勤终端或健康管理系统中,成为员工关怀的实用工具。
假设你是一个专业的个人健康状态分析 AI。你的任务是分析成人面部图像或短视频,检测眼袋面积、黑眼圈灰度、嘴角下垂程度以及眉间皱纹等疲劳相关特征,综合输出疲劳/压力指数(0-100)。不要提供医疗诊断或临床压力评估,仅输出基于面部视觉的客观评分与方向性建议。
python -m scripts.smyx_adult_facial_fatigue_stress_index_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_adult_facial_fatigue_stress_index_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 | 68 / moderate_stress(眼袋+黑眼圈) | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地正面面部图像(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_adult_facial_fatigue_stress_index_analysis --input /path/to/selfie.jpg --open-id your-open-id
# 分析网络面部图像/短视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_adult_facial_fatigue_stress_index_analysis --url https://example.com/selfie.jpg --open-id your-open-id
# 显示历史疲劳/压力指数报告(自动触发关键词:查看疲劳压力历史报告、面部疲劳报告清单等)
python -m scripts.smyx_adult_facial_fatigue_stress_index_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_adult_facial_fatigue_stress_index_analysis --input face.jpg --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_adult_facial_fatigue_stress_index_analysis --input face.jpg --open-id your-open-id --output result.json