Install
openclaw skills install smyx-plant-growth-stage-recognition-analysisAccurately identifies key growth stages of plants from germination to fruiting based on computer vision and deep learning, provides structured data for preci...
openclaw skills install smyx-plant-growth-stage-recognition-analysisEquipped with advanced computer vision and deep learning algorithms trained on large-scale plant growth datasets, this skill accurately identifies key growth stages throughout the entire plant life cycle, including germination, seedling, vegetative growth, flowering, and fruiting. By analyzing morphological characteristics of the plant, leaf area index, and reproductive organ development status, the system automatically determines the current growth stage and outputs structured analysis results. It provides scientific basis and decision support for water and fertilizer management, pest and disease control, and yield prediction in precision agriculture, helping agricultural producers achieve scientific management and improve crop yield and quality.
本技能搭载了基于大规模植物生长数据集训练的先进计算机视觉与深度学习算法,能够精准识别植物从发芽、幼苗、营养生长、开花到结果全生命周期中的各个关键生长阶段。系统通过分析植株形态特征、叶面积指数以及生殖器官发育状况,自动判断当前生长状态并输出结构化分析数据,为精准农业中的水肥管理、病虫害防治及产量预估提供科学依据与决策支持,帮助农业生产者实现科学管理,提升作物产量与品质。
本技能明确约定:
memory/YYYY-MM-DD.md、MEMORY.md 等本地文件python -m scripts.plant_growth_stage_recognition_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.plant_growth_stage_recognition_analysis 处理输入(必须在技能根目录下运行脚本)--input: 本地视频/图片文件路径(使用 multipart/form-data 方式上传)--url: 网络视频/图片 URL 地址(API 服务自动下载)--open-id: 当前用户的 open-id(必填,按上述流程获取)--list: 显示历史植物生长阶段识别分析报告列表清单(可以输入起始日期参数过滤数据范围)--api-key: API 访问密钥(可选)--api-url: API 服务地址(可选,使用默认值)--detail: 输出详细程度(basic/standard/json,默认 json)--output: 结果输出文件路径(可选)必要脚本:见 scripts/plant_growth_stage_recognition_analysis.py (用途:调用 API 进行植物生长阶段识别分析,本地文件使用 multipart/form-data 方式上传,网络 URL 由 API 服务自动下载)
配置文件:见 scripts/config.py(用途:配置 API 地址、默认参数和格式限制)
领域参考:见 references/api_doc.md(何时读取:需要了解 API 接口详细规范和错误码时)
植物生长阶段识别报告-{记录id}形式拼接, "点击查看"
列使用
[🔗 查看报告](reportImageUrl)
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。| 报告名称 | 植株数量 | 分析时间 | 点击查看 |
|---|---|---|---|
| 植物生长阶段识别报告-20260414232000001 | 1株 | 2026-04-14 23:20: | |
| 00 | 🔗 查看报告 |
# 识别本地视频/图片中植物的生长阶段(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.plant_growth_stage_recognition_analysis --input /path/to/plant.mp4 --open-id openclaw-control-ui
# 识别网络视频/图片(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.plant_growth_stage_recognition_analysis --url https://example.com/crop.mp4 --open-id openclaw-control-ui
# 显示历史识别报告/显示识别报告清单列表/显示历史植物生长阶段识别(自动触发关键词:查看历史识别报告、历史报告、识别报告清单等)
python -m scripts.plant_growth_stage_recognition_analysis --list --open-id openclaw-control-ui
# 输出精简报告
python -m scripts.plant_growth_stage_recognition_analysis --input crop.jpg --open-id your-open-id --detail basic
# 保存结果到文件
python -m scripts.plant_growth_stage_recognition_analysis --input crop.jpg --open-id your-open-id --output result.json