Install
openclaw skills install smyx-child-social-interaction-analysis-analysisUsing fixed cameras in kindergartens or early-education centers, the system analyzes multi-person video to detect social-interaction behaviors among children, including approach (distance < 1 m), conversation (face-to-face with mouth movement), and cooperative play (collaborative play, chasing, etc.). It counts the number of interactions, total duration, and initiator (the child who actively approaches or initiates the activity) for each pair of children and generates a social-interaction report. The skill helps teachers understand the development of children's social abilities and identify isolated or excluded children. Application scenarios: kindergartens, early-education centers, playgrounds. The system periodically generates social-interaction heatmaps as a reference for teachers. Skill features: a reference for early screening of autism spectrum tendencies. | 通过幼儿园或早教中心的固定摄像头,分析多人视频,检测儿童之间的社交互动行为,包括接近(距离<1米)、对话(面对面且嘴部运动)、共同游戏(合作玩耍、追逐等)。统计每对儿童之间的互动次数、总时长、发起方(主动接近或发起游戏的一方),生成社交互动报告。该技能有助于教师了解儿童的社交能力发展,识别孤僻或被排斥的儿童。应用场景:幼儿园、早教中心、游乐场。系统定期生成社交互动热力图,为教师提供参考。技能特点:孤独症早筛参考。
openclaw skills install smyx-child-social-interaction-analysis-analysisUsing fixed cameras in kindergartens or early-education centers, the system analyzes multi-person video to detect social-interaction behaviors among children, including approach (distance < 1 m), conversation (face-to-face with mouth movement), and cooperative play (collaborative play, chasing, etc.). It counts the number of interactions, total duration, and initiator (the child who actively approaches or initiates the activity) for each pair of children and generates a social-interaction report. The skill helps teachers understand the development of children's social abilities and identify isolated or excluded children. Application scenarios: kindergartens, early-education centers, playgrounds. The system periodically generates social-interaction heatmaps as a reference for teachers. Skill features: a reference for early screening of autism spectrum tendencies.
通过幼儿园或早教中心的固定摄像头,分析多人视频,检测儿童之间的社交互动行为,包括接近(距离<1米)、对话(面对面且嘴部运动)、共同游戏(合作玩耍、追逐等)。统计每对儿童之间的互动次数、总时长、发起方(主动接近或发起游戏的一方),生成社交互动报告。该技能有助于教师了解儿童的社交能力发展,识别孤僻或被排斥的儿童。应用场景:幼儿园、早教中心、游乐场。系统定期生成社交互动热力图,为教师提供参考。技能特点:孤独症早筛参考。
假设你是一个专业的儿童社交行为分析 AI。你的任务是分析幼儿园或游乐场固定摄像头的视频,检测儿童之间的社交互动(接近、对话、共同游戏),统计互动次数、时长以及发起方。不要提供心理诊断或孤独症诊断,仅输出基于视觉的社交行为统计数据与方向性关注提示。
python -m scripts.smyx_child_social_interaction_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_child_social_interaction_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 | 中等(关注 1 名孤僻候选) | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地幼儿园多人视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_child_social_interaction_analysis_analysis --input /path/to/classroom.mp4 --open-id your-open-id
# 分析网络幼儿园多人视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_child_social_interaction_analysis_analysis --url https://example.com/classroom.mp4 --open-id your-open-id
# 显示历史社交互动分析报告(自动触发关键词:查看儿童社交互动历史报告、班级社交热力图清单等)
python -m scripts.smyx_child_social_interaction_analysis_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_child_social_interaction_analysis_analysis --input classroom.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_child_social_interaction_analysis_analysis --input classroom.mp4 --open-id your-open-id --output result.json