Child Drowsiness / Fatigue Detection | 儿童打瞌睡/疲劳检测
Using a fixed camera in the classroom or above the home desk, the system analyzes the child's (student's) facial video in real time, detecting eye closure ratio (PERCLOS — the proportion of time eyes are closed more than 80% within a unit time), head-nodding frequency (rapid downward nod followed by lift), and changes in eye-region glossiness, and computes a comprehensive fatigue index (0-100). | 通过教室或家庭书桌的固定摄像头,实时分析儿童(学生)的面部视频,检测眼部闭合比例(PERCLOS,单位时间内眼睛闭合超过80%的时间占比)、点头动作频率(头部快速下点后抬起)以及眼部区域的光泽度变化,综合计算疲劳指数(0-100)。该技能可帮助教师或家长及时发现儿童困倦状态,调整学习安排或提醒休息。
Rank
62
Safety
84
Downloads
1.7k
Updated
Oct 10, 2026
Version
1.0.11
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 10, 2026
- Adoption signal
- 1.7K downloadsadoption · observed Oct 10, 2026
- Latest release
- 1.0.11release · observed Oct 2, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17cfv2h26b7hq5w47tgfy23xx83z9x6:smyx-child-drowsiness-fatigue-detection-analysis- Install using `clawhub skill install s17cfv2h26b7hq5w47tgfy23xx83z9x6:smyx-child-drowsiness-fatigue-detection-analysis` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/smyx-sunjinhui/smyx-child-drowsiness-fatigue-detection-analysis before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-child-drowsiness-fatigue-detection-/snapshot"
Documentation
CLAWHUB
144,510 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
--- name: "smyx-child-drowsiness-fatigue-detection-analysis" description: "Using a fixed camera in the classroom or above the home desk, the system analyzes the child's (student's) facial video in real time, detecting eye closure ratio (PERCLOS — the proportion of time eyes are closed more than 80% within a unit time), head-nodding frequency (rapid downward nod followed by lift), and changes in eye-region glossiness, and computes a comprehensive fatigue index (0-100). | 通过教室或家庭书桌的固定摄像头,实时分析儿童(学生)的面部视频,检测眼部闭合比例(PERCLOS,单位时间内眼睛闭合超过80%的时间占比)、点头动作频率(头部快速下点后抬起)以及眼部区域的光泽度变化,综合计算疲劳指数(0-100)。该技能可帮助教师或家长及时发现儿童困倦状态,调整学习安排或提醒休息。" version: "1.0.16" license: "MIT-0" --- # 😴 Child Drowsiness / Fatigue Detection | 儿童打瞌睡/疲劳检测 > **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询 --- ## 🧭 技能概览 | Overview | 模块 | 内容 | |---|---| | 🏷️ 技能名称 | **儿童打瞌睡/疲劳检测** | | 🎯 核心目标 | 通过教室或家庭书桌的固定摄像头,实时分析儿童(学生)的面部视频,检测眼部闭合比例(PERCLOS,单位时间内眼睛闭合超过80%的时间占比)、点头动作频率(头部快速下点后抬起)以及眼部区域的光泽度变化,综合计算疲劳指数(0-100)。该技能可帮助教师或家长及时发现儿童困倦状态,调整学习安排或提醒休息。 | | 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL | | 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 | | 🧩 场景码 | `SMYX_CHILD_DROWSINESS_FATIGUE_DETECTION_ANALYSIS` | Using a fixed camera in the classroom or above the home desk, the system analyzes the child's (student's) facial video in real time, detecting eye closure ratio (PERCLOS — the proportion of time eyes are closed more than 80% within a unit time), head-nodding frequency (rapid downward nod followed by lift), and changes in eye-region glossiness, and computes a comprehensive fatigue index (0-100). The skill helps teachers or parents detect drowsiness in time and adjust learning schedules or remind the child to rest. Application scenarios: classrooms, home desks, online classes. The system monitors in real time and, when the fatigue index exceeds a threshold, pushes reminders or triggers voice prompts (e.g., 'kid, time to take a break'). Skill features: safeguarding sleep health. 通过教室或家庭书桌的固定摄像头,实时分析儿童(学生)的面部视频,检测眼部闭合比例(PERCLOS,单位时间内眼睛闭合超过80%的时间占比)、点头动作频率(头部快速下点后抬起)以及眼部区域的光泽度变化,综合计算疲劳指数(0-100)。该技能可帮助教师或家长及时发现儿童困倦状态,调整学习安排或提醒休息。应用场景:教室、家庭书桌、在线课堂。系统实时监测,当疲劳指数超过阈值时,推送提醒或触发语音提示(如'小朋友,休息一下吧')。技能特点:保障睡眠健康。 ## 🤖 AI 角色 | AI Role | 角色要点 | 说明 | |---|---| | 说明 1 | **假设你是一个专业的儿童学习疲劳监测 AI。你的任务是分析儿童面部视频,检测眼部闭合状态和头部点头动作,计算疲劳指数。不要提供医疗诊断或睡眠障碍诊断,仅输出基于视觉的疲劳评估结果与方向性休息提醒。** | ## 🎬 技能演示 | Skill Demo [▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html) --- ## 🎯 任务目标 | Goals ### 1. 🧩 技能用途 基于教室/家庭书桌摄像头视频,量化儿童眼部闭合(PERCLOS)+ 点头动作 + 眼部光泽度变化,输出 0-100 疲劳指数与等级判定 ### 2. 🛠️ 能力范围 | 序号 | 具体能力 | |---:|---| | 1 | 儿童面部检测 | | 2 | 眼部状态识别(闭合 / 半闭 / 睁开) | | 3 | PERCLOS 计算 | | 4 | 连续闭眼时长 | | 5 | 眨眼频次 | | 6 | 点头次数与角度 | | 7 | 眼部光泽度变化 | | 8 | 疲劳综合得分(0-100) | | 9 | 疲劳等级(alert / mild_fatigue / moderate_fatigue / drowsy) | | 10 | 打瞌睡事件列表 | | 11 | 语音提醒文本生成 | ### 3. ⚡ 触发条件 | 触发类型 | 触发规则 | |---|---| | ✅ 默认触发 | **默认触发**:当用户提供儿童面部学习区域视频 URL 或文件需要分析时,默认触发本技能进行打瞌睡/疲劳检测 | | 🔎 明确分析意图 | 当用户明确提及打瞌睡、疲劳、困倦、PERCLOS、点头、眨眼、上课走神、写作业犯困、智能台灯疲劳提醒等关键词,并且上传了视频文件 | | 📚 历史报告查询
_meta.json
{
"ownerId": "kn7cyxkr2ymf7zwsrybpedg8xx83ywrj",
"slug": "smyx-child-drowsiness-fatigue-detection-analysis",
"version": "1.0.11",
"publishedAt": 1790938528320
}references/api_doc.md
# API 接口文档
此处用于存放儿童打瞌睡/疲劳检测 API 的接口文档,待后续补充。
## 接口规范
- 基础地址:由 smyx_common 配置统一管理
- 认证方式:API Key 鉴权
- 响应格式:JSON
## 主要接口
1. `/web/health-analysis/v2/start-health-analysis` - 启动儿童疲劳检测任务
2. `/web/health-analysis/v2/get-health-analysis-result` - 获取分析结果(疲劳指数 + 提醒)
3. `/web/health-analysis/page-health-analysis-result` - 分页查询历史疲劳检测记录
4. `/health/order/api/getReportDetailExport?id={id}` - 导出完整报告
## 场景代码
- `SMYX_CHILD_DROWSINESS_FATIGUE_DETECTION_ANALYSIS` - 儿童打瞌睡/疲劳检测
## 输入约束
- 摄像头建议正对儿童面部(教室或书桌正前方/智能台灯内置)
- 视频帧率建议 ≥ 15 FPS,确保眼部状态采样精度
- 光照均匀,避免逆光或镜片反光遮挡眼部
## 关键观测指标
- `perclos` - 单位时间内眼睛闭合超过 80% 的时间占比(0-1)
- `eye_closure_duration_sec` - 最长一次连续闭眼秒数
- `blink_rate_per_min` - 眨眼频次(次/分钟)
- `nod_frequency_per_min` - 点头次数(次/分钟,快速下点后抬起)
- `head_drop_angle_deg` - 单次最大头部下垂角度(°)
- `eye_region_glossiness_drop` - 眼部光泽度变化(参考特征)
## 疲劳指数(0-100,综合得分)
- 0-30 - 清醒(alert)
- 30-50 - 轻度疲劳(mild_fatigue)
- 50-70 - 中度疲劳(moderate_fatigue)
- 70-100 - 重度疲劳/疑似打瞌睡(drowsy)
## 默认告警阈值(可由调用方覆盖)
- PERCLOS 阈值:> 0.4 触发疲劳预警
- 连续闭眼阈值:> 2 秒(疑似瞌睡)
- 疲劳指数阈值:> 70 → 触发语音提醒
## 输出字段(参考)
- `child_detected` - 是否检测到儿童
- `fatigue_metrics` - 各项疲劳指标数值(perclos / eye_closure_duration_sec / blink_rate_per_min / nod_frequency_per_min / head_drop_angle_deg)
- `fatigue_score` - 综合疲劳指数(0-100)
- `fatigue_level` - 疲劳等级(alert / mild_fatigue / moderate_fatigue / drowsy)
- `drowsiness_events` - 打瞌睡事件列表(时间戳 + 持续秒数 + 类型)
- `voice_prompt` - 语音提醒文本(如"小朋友,休息一下吧")
- `summary` - 当次会话疲劳统计摘要
> 仅输出基于视觉的疲劳评估结果与方向性休息提醒,不提供医学诊断或睡眠障碍诊断。skills/smyx_analysis/references/api_doc.md
# API接口文档 ## 接口规范 - 基础地址:由 smyx_common 配置统一管理 - 认证方式:API Key 鉴权 - 请求格式:支持文件上传 - 响应格式:JSON ## 错误码说明 | 错误码 | 说明 | |-----|----------| | 400 | 请求参数错误 | | 401 | API密钥无效 | | 403 | 权限不足 | | 413 | 文件过大 | | 415 | 不支持的文件格式 | | 500 | 服务器内部错误 |
scripts/config.yaml
{}AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/smyx-sunjinhui/skills/smyx-child-drowsiness-fatigue-detection-analysis",
"sourceUrl": "https://clawhub.ai/smyx-sunjinhui/skills/smyx-child-drowsiness-fatigue-detection-analysis",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T03:53:15.048Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-child-drowsiness-fatigue-detection-/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-child-drowsiness-fatigue-detection-/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T03:53:15.048Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.7K downloads",
"href": "https://clawhub.ai/smyx-sunjinhui/smyx-child-drowsiness-fatigue-detection-analysis",
"sourceUrl": "https://clawhub.ai/smyx-sunjinhui/smyx-child-drowsiness-fatigue-detection-analysis",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T03:53:15.048Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.11",
"href": "https://clawhub.ai/smyx-sunjinhui/smyx-child-drowsiness-fatigue-detection-analysis",
"sourceUrl": "https://clawhub.ai/smyx-sunjinhui/smyx-child-drowsiness-fatigue-detection-analysis",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-10-02T10:55:28.320Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-child-drowsiness-fatigue-detection-/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-child-drowsiness-fatigue-detection-/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.11",
"description": "- Updated version number in SKILL.md from 1.0.15 to 1.0.16. - Removed the file skill-card.md. - No functional changes to skill logic or capabilities. Documentation and resource structure remain consistent.",
"href": "https://clawhub.ai/smyx-sunjinhui/smyx-child-drowsiness-fatigue-detection-analysis",
"sourceUrl": "https://clawhub.ai/smyx-sunjinhui/smyx-child-drowsiness-fatigue-detection-analysis",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-10-02T10:55:28.320Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
