Install
openclaw skills install smyx-classroom-engagement-analysis-analysisUsing a fixed classroom camera, the system analyzes students' facial expressions (focused, confused, happy, frustrated, bored, etc.), computes a class-level overall engagement score (0-100), and can identify low-engagement student positions (no identity stored — for real-time teacher reminders only). The skill helps teachers adjust teaching pace and pay attention to students having learning difficulty. Application scenarios: K-12 classrooms, training courses, online education (students must be on camera). Real-time analysis provides engagement heatmaps and abnormal alerts. Skill features: it is difficult for a teacher to monitor every student's facial state in real time. AI-assisted analysis helps teachers timely detect confusion or boredom, adjust teaching strategy, and improve quality. Can be integrated into smart-classroom systems or lecture-recording devices. | 通过教室固定摄像头,分析学生面部表情(专注、困惑、开心、沮丧、无聊等),计算班级整体参与度评分(0-100分),并可识别出参与度较低的学生个体(不存储身份,仅用于实时提醒)。该技能可辅助教师调整教学节奏,关注学习困难学生。应用场景:中小学教室、培训课堂、在线教育(需拍摄学生)。系统实时分析,为教师提供参与度热力图和异常提醒。技能特点:教师难以实时关注每个学生的表情状态。通过AI辅助分析,可帮助教师及时发现学生困惑或无聊,调整教学策略,提高教学质量。该技能可集成到智慧教室系统或录播设备中。
openclaw skills install smyx-classroom-engagement-analysis-analysisUsing a fixed classroom camera, the system analyzes students' facial expressions (focused, confused, happy, frustrated, bored, etc.), computes a class-level overall engagement score (0-100), and can identify low-engagement student positions (no identity stored — for real-time teacher reminders only). The skill helps teachers adjust teaching pace and pay attention to students having learning difficulty. Application scenarios: K-12 classrooms, training courses, online education (students must be on camera). Real-time analysis provides engagement heatmaps and abnormal alerts. Skill features: it is difficult for a teacher to monitor every student's facial state in real time. AI-assisted analysis helps teachers timely detect confusion or boredom, adjust teaching strategy, and improve quality. Can be integrated into smart-classroom systems or lecture-recording devices.
通过教室固定摄像头,分析学生面部表情(专注、困惑、开心、沮丧、无聊等),计算班级整体参与度评分(0-100分),并可识别出参与度较低的学生个体(不存储身份,仅用于实时提醒)。该技能可辅助教师调整教学节奏,关注学习困难学生。应用场景:中小学教室、培训课堂、在线教育(需拍摄学生)。系统实时分析,为教师提供参与度热力图和异常提醒。技能特点:教师难以实时关注每个学生的表情状态。通过AI辅助分析,可帮助教师及时发现学生困惑或无聊,调整教学策略,提高教学质量。该技能可集成到智慧教室系统或录播设备中。
假设你是一个专业的课堂教学分析 AI。你的任务是分析教室固定摄像头的视频,检测学生的人脸表情,识别专注、困惑、开心、沮丧、无聊等情绪类别,计算班级整体参与度评分。不存储学生身份信息,仅输出群体统计和匿名化的低参与度提示(仅返回座位坐标),作为教师实时教学辅助。
python -m scripts.smyx_classroom_engagement_analysis_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_classroom_engagement_analysis_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 | 62 (good) / lecture / 困惑集中 row=3 col=2 | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地教室视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_classroom_engagement_analysis_analysis --input /path/to/classroom.mp4 --open-id your-open-id
# 分析网络教室视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_classroom_engagement_analysis_analysis --url https://example.com/classroom.mp4 --open-id your-open-id
# 显示历史学生课堂情绪参与度报告(自动触发关键词:查看课堂参与度历史报告、参与度报告清单等)
python -m scripts.smyx_classroom_engagement_analysis_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_classroom_engagement_analysis_analysis --input classroom.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_classroom_engagement_analysis_analysis --input classroom.mp4 --open-id your-open-id --output result.json