Code Monkey home page Code Monkey logo

11785-early-crop-disease-discovery-dcnn's Introduction

Early crop disease discovery using leaf symptom images on a basis of Deep Convolutional Neural Networks

Team

Description

This model uses deep convolutional neural networks to detect early signs of crop diseases based on images of the plants' leaves. By analyzing the symptoms of the disease in the leaf images, the model is able to identify potential issues and alert farmers, allowing them to take action to prevent further spread of the disease and protect their crops. This can be an important tool for farmers, as early detection and intervention can help prevent significant losses.

Dataset

The dataset used for this model is the PlantVillage dataset, which contains images of healthy and diseased plant leaves. The dataset contains 54,305 images of 38 different plant species, with 14,308 images of diseased leaves and 39,997 images of healthy leaves. The dataset is split into 38 different folders, each containing images of a specific plant species. Within each folder, there are two subfolders, one containing images of healthy leaves and the other containing images of diseased leaves. The images are all in .jpg format and are 256x256 pixels in size.

Model

The model used for this project is an ensemble of ResNet50 and ConvNext50.

Results

The model was able to achieve an accuracy of 0.992 compared to the baseline model with 0.964 accuracy.

Future Work

The model can be improved by using a larger dataset, as the current dataset is relatively small. The model can also be improved by using a more complex model, such as a ResNet101 or a ResNet152.

Code structure

The code is structured as follows:

  • README.md: This file.
  • requirements.txt: The requirements for the project.
  • Project_Crop_disease.ipynb: The notebook containing the code for the project.

How to run the code

To run the code, you will need to create an environment and install the requirements using the following:

Open the notebook in Colab by clicking on the badge below:

Open In Colab

or

conda create --name <env> --file requirements.txt

or

python -m venv <env>
source <env>/bin/activate
pip install -r requirements.txt

Then, you can run the code in the Project_Crop_disease.ipynb notebook.

11785-early-crop-disease-discovery-dcnn's People

Contributors

heredionn avatar nshutijean avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.