Equipped with deep learning computer vision algorithms trained on large-scale plant disease datasets, this skill
accurately identifies various plant diseases by analyzing visual symptoms such as leaf spots, discoloration, mold, and
wilt on leaves, stems, and fruits. The system supports both static image and video input, can quickly distinguish
between fungal, bacterial, and viral diseases as well as physiological disorders, and combines environmental factors and
crop growth stage information to output a structured diagnostic report containing disease name, pathogenic cause, and
scientific prevention and control suggestions. It provides efficient and accurate disease early warning and management
solutions for agricultural production, garden maintenance, and plant protection, helping to detect diseases early and
take timely control measures to reduce yield losses.
本技能搭载了基于大规模植物病害数据集训练的深度学习计算机视觉算法,能够通过分析叶片、茎秆、果实等部位出现的病斑、变色、霉层、萎蔫等视觉症状,精准识别多种常见植物病害。系统同时支持视频/图片输入,可快速区分真菌性、细菌性、病毒性病害以及生理性障碍,并结合环境因素和作物生长阶段信息,输出包含病害名称、致病原因、科学防治建议在内的结构化诊断报告,为农业生产、园艺养护和植物保护提供高效精准的病害预警与管理方案,帮助尽早发现病害,及时采取防控措施,减少产量损失。
:查看历史识别报告、病害识别报告清单、识别报告列表、查询历史识别报告、显示所有识别报告、植物病害分析报告,查询植物病害识别分析报告
显示所有植物病害识别"、"
查看历史报告"等),必须:
python -m scripts.plant_disease_recognition_analysis --list --open-id 参数调用 API查询云端的历史报告数据
```
requests>=2.28.0
```
为了获得准确的病害识别,请确保:
在执行植物病害识别分析前,必须按以下优先级顺序获取 open-id:
第 1 步:检查用户是否在消息中明确提供了 open-id
↓ (未提供)
第 2 步:❗ 必须暂停执行,明确提示用户提供用户名或手机号作为 open-id
⚠️ 关键约束:
-m scripts.plant_disease_recognition_analysis 处理输入(必须在技能根目录下运行脚本)--input: 本地视频/图片文件路径--url: 网络视频/图片 URL 地址(API 服务自动下载)--open-id: 当前用户的 open-id(必填,按上述流程获取, 再通过 SHA-256 算法生成唯一标识传入)--list: 显示历史植物病害识别分析报告列表清单(可以输入起始日期参数过滤数据范围)--api-key: API 访问密钥(可选)--api-url: API 服务地址(可选,使用默认值)--detail: 输出详细程度(basic/standard/json,默认 json)--output: 结果输出文件路径(可选)(用途:调用 API 进行植物病害识别分析,本地文件上传(https),网络 URL 由 API 服务自动下载)
表格格式输出,包含"
报告名称"、"病害样本数"、"分析时间"、"点击查看"四列,其中"报告名称"列使用植物病害识别报告-{记录id}形式拼接, "点击查看"
列使用
格式的超链接,用户点击即可直接跳转到对应的完整报告页面。
| 报告名称 | 病害样本数 | 分析时间 | 点击查看 |
|----------|----------|----------|----------|
| 植物病害识别报告-20260414232700001 | 1份 | 2026-04-14 23:27:00 | 🔗 查看报告 |
本技能在处理用户上传的视频时,严格遵守数据安全规范:
**。
# 识别本地视频中的植物病害(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.plant_disease_recognition_analysis --input /path/to/field_survey.mp4 --open-id {SHA-256 算法生成新 open-id}
# 识别本地图片中的植物病害(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.plant_disease_recognition_analysis --input /path/to/leaf.jpg --open-id {SHA-256 算法生成新 open-id}
# 识别网络视频(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.plant_disease_recognition_analysis --url https://example.com/field_video.mp4 --open-id {SHA-256 算法生成新 open-id}
# 识别网络图片(以下只是示例,禁止直接使用openclaw-control-ui 作为 open-id)
python -m scripts.plant_disease_recognition_analysis --url https://example.com/disease.jpg --open-id {SHA-256 算法生成新 open-id}
# 显示历史识别报告/显示识别报告清单列表/显示历史植物病害识别(自动触发关键词:查看历史识别报告、历史报告、识别报告清单等)
python -m scripts.plant_disease_recognition_analysis --list --open-id {SHA-256 算法生成新 open-id}
# 输出精简报告
python -m scripts.plant_disease_recognition_analysis --input disease.jpg --open-id {SHA-256 算法生成新 open-id} --detail basic
# 保存结果到文件
python -m scripts.plant_disease_recognition_analysis --input disease.mp4 --open-id {SHA-256 算法生成新 open-id} --output result.json
共 4 个版本