Install
openclaw skills install smyx-pregnant-posture-fatigue-detection-analysisUsing a fixed camera at home (e.g., living room, kitchen), the system analyzes a pregnant woman's posture in real time, detecting prolonged standing (continuous standing beyond a threshold, default 30 minutes) and frequent bending (bending frequency exceeding normal levels, e.g., > 10 times per hour), and assesses physical-exertion and fatigue risk. When prolonged standing or frequent bending is detected, it outputs a 'fatigue risk reminder' suggesting the pregnant woman sit down to rest or avoid heavy physical activity, preventing complications from over-fatigue during pregnancy. Application scenarios: pregnant women's homes, prenatal schools, community health centers. The system monitors in real time; when fatiguing behavior is detected, it pushes reminders via smart speaker or mobile app (e.g., 'You've been standing for 30 minutes, please sit down and rest'). Skill features: over-fatigue during pregnancy (prolonged standing, frequent bending) may increase the risk of preterm labor, placental abruption, lumbar/back pain, etc. AI real-time monitoring and reminders help pregnant women adjust activity intensity and protect maternal-infant health. Can be integrated into smart-home cameras or pregnancy-management apps as a caring assistant for expecting parents. | 通过家庭固定摄像头(如客厅、厨房)实时分析孕妇的姿态,检测长时间站立(连续站立超过阈值,默认30分钟)以及频繁弯腰(弯腰频次超过正常值,如每小时>10次),评估孕妇的体力消耗和劳累风险。当出现久站或频繁弯腰时,输出'劳累风险提醒',建议孕妇坐下休息或避免重体力活动,预防孕期过度疲劳引发的并发症。应用场景:孕妇家庭、孕妇学校、社区健康中心。系统实时监测,当检测到劳累行为时通过智能音箱或手机APP推送提醒(如'您已站立30分钟,建议坐下休息')。技能特点:孕妇过度劳累(久站、频繁弯腰)可能增加早产、胎盘早剥、腰背疼痛等风险。通过AI实时监测并提醒,可帮助孕妇主动调整活动强度,保护母婴健康。该技能可集成到智能家居摄像头或孕期管理APP中,成为准父母的贴心助手。
openclaw skills install smyx-pregnant-posture-fatigue-detection-analysisUsing a fixed camera at home (e.g., living room, kitchen), the system analyzes a pregnant woman's posture in real time, detecting prolonged standing (continuous standing beyond a threshold, default 30 minutes) and frequent bending (bending frequency exceeding normal levels, e.g., > 10 times per hour), and assesses physical-exertion and fatigue risk. When prolonged standing or frequent bending is detected, it outputs a 'fatigue risk reminder' suggesting the pregnant woman sit down to rest or avoid heavy physical activity, preventing complications from over-fatigue during pregnancy. Application scenarios: pregnant women's homes, prenatal schools, community health centers. The system monitors in real time; when fatiguing behavior is detected, it pushes reminders via smart speaker or mobile app (e.g., 'You've been standing for 30 minutes, please sit down and rest'). Skill features: over-fatigue during pregnancy (prolonged standing, frequent bending) may increase the risk of preterm labor, placental abruption, lumbar/back pain, etc. AI real-time monitoring and reminders help pregnant women adjust activity intensity and protect maternal-infant health. Can be integrated into smart-home cameras or pregnancy-management apps as a caring assistant for expecting parents.
通过家庭固定摄像头(如客厅、厨房)实时分析孕妇的姿态,检测长时间站立(连续站立超过阈值,默认30分钟)以及频繁弯腰(弯腰频次超过正常值,如每小时>10次),评估孕妇的体力消耗和劳累风险。当出现久站或频繁弯腰时,输出'劳累风险提醒',建议孕妇坐下休息或避免重体力活动,预防孕期过度疲劳引发的并发症。应用场景:孕妇家庭、孕妇学校、社区健康中心。系统实时监测,当检测到劳累行为时通过智能音箱或手机APP推送提醒(如'您已站立30分钟,建议坐下休息')。技能特点:孕妇过度劳累(久站、频繁弯腰)可能增加早产、胎盘早剥、腰背疼痛等风险。通过AI实时监测并提醒,可帮助孕妇主动调整活动强度,保护母婴健康。该技能可集成到智能家居摄像头或孕期管理APP中,成为准父母的贴心助手。
假设你是一个专业的孕期健康管理 AI。你的任务是分析固定摄像头(对准孕妇活动区域)的实时视频,检测孕妇的姿态,识别长时间站立(连续站立时长)和频繁弯腰的动作,评估劳累风险。不要提供医疗诊断或具体处方,仅输出基于视觉的姿态和动作统计与友好提醒。
python -m scripts.smyx_pregnant_posture_fatigue_detection_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_pregnant_posture_fatigue_detection_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 | combined_fatigue_risk(连续站立 35min + 1h 弯腰 12 次) | 2026-03-12 17:22:00 | 🔗 查看报告 |
# 分析本地孕妇活动区域视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_pregnant_posture_fatigue_detection_analysis --input /path/to/livingroom.mp4 --open-id your-open-id
# 分析网络孕妇活动区域视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.smyx_pregnant_posture_fatigue_detection_analysis --url https://example.com/livingroom.mp4 --open-id your-open-id
# 显示历史孕妇久站/过度劳累识别报告(自动触发关键词:查看孕妇久站历史报告、孕妇劳累提醒清单等)
python -m scripts.smyx_pregnant_posture_fatigue_detection_analysis --list --open-id your-open-id
# 输出精简报告
python -m scripts.smyx_pregnant_posture_fatigue_detection_analysis --input lr.mp4 --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.smyx_pregnant_posture_fatigue_detection_analysis --input lr.mp4 --open-id your-open-id --output result.json