Driver Blink-Rate & Eye-Closure Fatigue Detection | 驾驶员眨眼频率与闭眼时长检测
Using an in-cabin DMS camera, the system analyzes the driver's facial video in real time, detects eye open/closed state, calculates blink rate per minute (normal range 15-20 blinks/min), and identifies single-blink closure duration. | 通过车载DMS摄像头实时分析驾驶员面部视频,检测眼部开闭状态,计算每分钟眨眼频率(正常约为15-20次/分钟),并识别闭眼持续时间。当眨眼频率异常降低(如<10次/分钟)或出现单次闭眼超过2秒(微睡眠前兆)时,输出疲劳驾驶预警,联动车内语音提醒或震动座椅,预防因疲劳导致的事故。
Rank
62
Safety
84
Downloads
1.8k
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.8K 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.8K 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-driver-blink-fatigue-detection-analysis- Install using `clawhub skill install s17cfv2h26b7hq5w47tgfy23xx83z9x6:smyx-driver-blink-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-driver-blink-fatigue-detection-analysis before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-driver-blink-fatigue-detection-anal/snapshot"
Documentation
CLAWHUB
150,124 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
--- name: "smyx-driver-blink-fatigue-detection-analysis" description: "Using an in-cabin DMS camera, the system analyzes the driver's facial video in real time, detects eye open/closed state, calculates blink rate per minute (normal range 15-20 blinks/min), and identifies single-blink closure duration. | 通过车载DMS摄像头实时分析驾驶员面部视频,检测眼部开闭状态,计算每分钟眨眼频率(正常约为15-20次/分钟),并识别闭眼持续时间。当眨眼频率异常降低(如<10次/分钟)或出现单次闭眼超过2秒(微睡眠前兆)时,输出疲劳驾驶预警,联动车内语音提醒或震动座椅,预防因疲劳导致的事故。" version: "1.0.15" license: "MIT-0" --- # 🚗 Driver Blink-Rate & Eye-Closure Fatigue Detection | 驾驶员眨眼频率与闭眼时长检测 > **智能分析中枢** · 图片/视频智能分析 · 结构化报告 · 历史报告云端查询 --- ## 🧭 技能概览 | Overview | 模块 | 内容 | |---|---| | 🏷️ 技能名称 | **驾驶员眨眼频率与闭眼时长检测** | | 🎯 核心目标 | 通过车载DMS摄像头实时分析驾驶员面部视频,检测眼部开闭状态,计算每分钟眨眼频率(正常约为15-20次/分钟),并识别闭眼持续时间。当眨眼频率异常降低(如<10次/分钟)或出现单次闭眼超过2秒(微睡眠前兆)时,输出疲劳驾驶预警,联动车内语音提醒或震动座椅,预防因疲劳导致的事故。 | | 🖼️ 输入类型 | 图片、视频、本地文件、网络 URL | | 📝 输出能力 | 结构化分析报告、识别/监测结果、建议与报告链接 | | 🧩 场景码 | `SMYX_DRIVER_BLINK_FATIGUE_DETECTION_ANALYSIS` | Using an in-cabin DMS camera, the system analyzes the driver's facial video in real time, detects eye open/closed state, calculates blink rate per minute (normal range 15-20 blinks/min), and identifies single-blink closure duration. When blink rate drops abnormally low (e.g., < 10 blinks/min) or a single eye-closure exceeds 2 seconds (microsleep precursor), it issues a fatigue-driving alert, triggering in-cabin voice reminders or seat-vibration, helping prevent accidents caused by drowsy driving. Application scenarios: passenger cars, commercial vehicles, ride-hailing fleets, freight fleets. The system monitors in real time and on detection raises audio/visual alerts and uploads events to the fleet-management platform. Skill features: drowsy driving is a major cause of traffic accidents. AI real-time detection of abnormal blinking and microsleep can promptly remind the driver and reduce accident risk. Can be integrated into dashcams, smart cockpits, or ride-hailing safety systems to enhance driving safety. 通过车载DMS摄像头实时分析驾驶员面部视频,检测眼部开闭状态,计算每分钟眨眼频率(正常约为15-20次/分钟),并识别闭眼持续时间。当眨眼频率异常降低(如<10次/分钟)或出现单次闭眼超过2秒(微睡眠前兆)时,输出疲劳驾驶预警,联动车内语音提醒或震动座椅,预防因疲劳导致的事故。应用场景:乘用车、商用车、网约车、货运车队。系统实时监测,当检测到疲劳迹象时发出声光报警,并上传至车队管理平台。技能特点:疲劳驾驶是交通事故的重要原因。通过AI实时检测眨眼异常和微睡眠,可及时提醒驾驶员,降低事故风险。该技能可集成到行车记录仪、智能座舱或网约车安全系统中,提升驾驶安全。 ## 🤖 AI 角色 | AI Role | 角色要点 | 说明 | |---|---| | 说明 1 | **假设你是一个专业的驾驶员疲劳监测 AI。你的任务是分析驾驶员面部视频,检测眼部状态(睁开/闭合),计算眨眼频率(次/分钟)和单次闭眼持续时间。当眨眼频率低于正常阈值或出现长时间闭眼时,输出疲劳预警。不要提供医疗诊断或睡眠障碍诊断,仅输出基于视觉的疲劳指标与方向性预警提示。** | ## 🎬 技能演示 | Skill Demo [▶️ 点击查看技能使用介绍](https://lifeemergence.com/sample.html) --- ## 🎯 任务目标 | Goals ### 1. 🧩 技能用途 基于车载 DMS 摄像头驾驶员面部视频,实时检测眼部开闭状态、计算眨眼频率与闭眼时长,识别微睡眠等疲劳前兆并输出预警 ### 2. 🛠️ 能力范围 | 序号 | 具体能力 | |---:|---| | 1 | 驾驶员面部检测 | | 2 | 眼部 ROI 关键点定位 | | 3 | 眼部开闭分类(open / closed / partial) | | 4 | 每分钟眨眼次数统计 | | 5 | 平均/最长闭眼时长 | | 6 | 微睡眠(单次闭眼 > 2s)识别 | | 7 | PERCLOS 计算 | | 8 | 疲劳等级判定(normal / mild / moderate / severe) | | 9 | 座舱联动动作建议(voice_alert / seat_vibrate / fleet_upload) | ### 3. ⚡ 触发条件 | 触发类型 | 触发规则
_meta.json
{
"ownerId": "kn7cyxkr2ymf7zwsrybpedg8xx83ywrj",
"slug": "smyx-driver-blink-fatigue-detection-analysis",
"version": "1.0.11",
"publishedAt": 1790958327217
}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_DRIVER_BLINK_FATIGUE_DETECTION_ANALYSIS` - 驾驶员眨眼频率与闭眼时长检测
## 输入约束
- 摄像头:车载 DMS 摄像头(红外/IR-cut 优先)
- 安装位置:方向盘上方 / A 柱 / 仪表台上方,正对驾驶员面部
- 帧率:≥ 30 FPS(推荐);分辨率 ≥ 480p
- 必须能稳定看到双眼区域;夜间/隧道场景启用红外补光
- 支持戴普通眼镜,墨镜会显著影响检测
## 关键观测指标
- `eye_state` - 眼部状态时序(open / closed / partial)
- `blink_count_per_minute` - 每分钟眨眼次数(次/分钟)
- `avg_blink_duration_ms` - 平均单次眨眼持续时长(毫秒)
- `max_closed_eye_duration_ms` - 单次最长闭眼时长(毫秒)
- `microsleep_count` - 微睡眠事件次数(单次闭眼 > 2s)
- `perclos` - PERCLOS(80% 阈值下,单位时间内闭眼帧占比)
## 正常/异常阈值(可由调用方覆盖)
- 正常眨眼频率:15-20 次/分钟
- 眨眼频率偏低告警阈值:< 10 次/分钟
- 单次闭眼超过 2 秒 → 触发微睡眠预警
- PERCLOS > 0.15 → 中度疲劳;> 0.30 → 重度疲劳
## 预警类型
- `low_blink_rate` - 眨眼频率过低
- `microsleep` - 微睡眠(单次闭眼 > 2s)
- `prolonged_eye_closure` - 长时间闭眼(> 3s)
- `high_perclos` - PERCLOS 超阈值(持续疲劳)
- `eyes_off_road` - 视线长时间偏离前方(参考)
## 输出字段(参考)
- `driver_detected` - 是否检测到驾驶员
- `eye_visible` - 双眼是否可见(戴墨镜/遮挡时为 false)
- `blink_metrics` - 眨眼相关指标(blink_count_per_minute / avg_blink_duration_ms / max_closed_eye_duration_ms / microsleep_count / perclos)
- `fatigue_level` - 疲劳等级(normal / mild / moderate / severe)
- `warning_type` - 触发的预警类型
- `warning_message` - 预警提示文本(如"驾驶员眨眼频率仅 8 次/分钟且出现 1 次 2.4 秒微睡眠,请立即靠边休息")
- `recommend_action` - 建议的座舱联动动作(voice_alert / seat_vibrate / fleet_upload)
> 仅输出基于视觉的驾驶员疲劳指标与预警,不提供医学诊断或睡眠障碍诊断;预警仅供辅助提醒,驾驶员对车辆操作负全责。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-driver-blink-fatigue-detection-analysis",
"sourceUrl": "https://clawhub.ai/smyx-sunjinhui/skills/smyx-driver-blink-fatigue-detection-analysis",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T01:26:54.512Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-driver-blink-fatigue-detection-anal/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-driver-blink-fatigue-detection-anal/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T01:26:54.512Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.8K downloads",
"href": "https://clawhub.ai/smyx-sunjinhui/smyx-driver-blink-fatigue-detection-analysis",
"sourceUrl": "https://clawhub.ai/smyx-sunjinhui/smyx-driver-blink-fatigue-detection-analysis",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T01:26:54.512Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.11",
"href": "https://clawhub.ai/smyx-sunjinhui/smyx-driver-blink-fatigue-detection-analysis",
"sourceUrl": "https://clawhub.ai/smyx-sunjinhui/smyx-driver-blink-fatigue-detection-analysis",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-10-02T16:25:27.217Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-driver-blink-fatigue-detection-anal/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-smyx-sunjinhui-smyx-driver-blink-fatigue-detection-anal/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.11",
"description": "- Removed the file: skill-card.md - No other user-facing changes in functionality or documentation. - Housekeeping update; skill features and workflow remain unchanged.",
"href": "https://clawhub.ai/smyx-sunjinhui/smyx-driver-blink-fatigue-detection-analysis",
"sourceUrl": "https://clawhub.ai/smyx-sunjinhui/smyx-driver-blink-fatigue-detection-analysis",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-10-02T16:25:27.217Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
