一个简单的农作物健康分类应用,利用深度学习从辣椒、马铃薯和番茄的叶片图像中识别可能的病害。

Stars

3

7 天增长

暂无数据

Fork 数

1

开放 Issue

0

开源协议

Apache-2.0

最近更新

2026-07-29

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它将预训练模型与用户友好的Streamlit界面相结合,提供快速的初步病害评估,尤其适合技术经验有限的农民。

适合谁使用

  • 农民及农业工作者
  • 农业推广人员
  • 学习农业人工智能的学生
  • 园艺爱好者

典型使用场景

  • 上传叶片照片立即获得病害预测
  • 田间作物健康初步筛查
  • 学习农作物病害的教育工具
  • 三种主要作物常见病害的快速参考

项目优势

  • 支持三种主要作物共15种病害状态
  • 简单的图片上传,清晰显示预测结果和置信度
  • 内置基本图像质量检查以提高准确性
  • 基于Streamlit构建,易于部署和使用

使用前须知

  • 仅支持三种作物(辣椒、马铃薯、番茄)
  • 结果仅为初步判断,不能替代专业农业建议
  • 需要清晰、光线良好的叶片照片以获得最佳效果
  • 教育/演示用途的许可可能限制商业应用

README 快速开始

Agri Vision

Agri Vision is a simple crop health classification application that uses a pre-trained deep learning model to identify possible diseases from crop leaf images.

The application is designed to give farmers a quick preliminary assessment of crop health and provide simple guidance based on the detected condition.

All the work was done by me and my teammate, Ajohn, we just did it on the school computer so the PR was required.

https://github.com/user-attachments/assets/d34747e4-0481-42de-b469-03e264ff1c39

Features

  • Upload a crop leaf image
  • Detect possible crop diseases using a trained deep learning model
  • Supports pepper, potato, and tomato crops
  • Displays the detected crop
  • Displays the possible disease or healthy condition
  • Shows prediction confidence
  • Provides simple guidance based on the prediction
  • Checks basic image quality before analysis
  • Simple and accessible Streamlit interface

Supported Crops

Agri Vision currently supports:

  • Pepper Bell
  • Potato
  • Tomato

The model can identify 15 different crop conditions across these crops.

How It Works

The application follows a simple process:

  1. The user uploads a photo of a crop leaf.
  2. The application checks the basic quality of the image.
  3. The image is resized to the required input size.
  4. The image is processed and passed to the trained deep learning model.
  5. The model predicts the most likely crop condition.
  6. The application displays the crop and possible disease.
  7. The user receives simple guidance based on the prediction.

Technology Used

  • Python
  • TensorFlow
  • OpenCV
  • NumPy
  • Streamlit

Model

Agri Vision uses a pre-trained TensorFlow model stored in the following file:

crop_disease_model.h5

The model expects input images with a size of:

224 x 224 pixels

The model predicts one of 15 possible crop conditions.

These include:

  • Pepper Bell Bacterial Spot
  • Pepper Bell Healthy
  • Potato Early Blight
  • Potato Late Blight
  • Potato Healthy
  • Tomato Bacterial Spot
  • Tomato Early Blight
  • Tomato Late Blight
  • Tomato Leaf Mold
  • Tomato Septoria Leaf Spot
  • Tomato Spider Mites
  • Tomato Target Spot
  • Tomato Yellow Leaf Curl Virus
  • Tomato Mosaic Virus
  • Tomato Healthy

Image Guidelines

For the best results, users should:

  • Take a clear photo of the crop leaf
  • Use good natural lighting
  • Make sure the leaf is clearly visible
  • Avoid blurry

项目描述

Agri Vision is a simple crop health classification application that uses a pre-trained deep learning model to identify possible diseases from crop leaf images.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

lopopolo
精选
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI 与机器学习AI 智能体
2,390
slvDev
精选
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI 与机器学习大语言模型
1,960
littledivy
精选
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI 与机器学习
1,482