Skip to content

A Flask web application that uses a pre-trained ResNet50 model to identify cassava leaf diseases. The system allows farmers to upload leaf images and get disease predictions along with prevention methods. It includes modules for both Farmers and Agricultural Officers, with SQLite3 as the database for managing user and disease information.

Notifications You must be signed in to change notification settings

athul12v/cassava_leaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cassava Leaf Disease Identification

A Deep Learning Approach

Here's a simple README for your GitHub project:


This project identifies diseases in cassava leaves using a deep learning model based on the pre-trained ResNet50 architecture. The project includes two user roles: Farmer and Agricultural Officer.

Setup Instructions

  1. Install Required Libraries:

    • TensorFlow (for deep learning)
    • Pillow (for image loading)
    • Flask (for the web framework)

    Run the following command to install them:

    pip install tensorflow pillow flask
  2. Database:

    • The project uses SQLite3 as the database. No need for external setup.
  3. Run the Project:

    • First, set up the database by running:
      python create.py
    • Then, start the application:
      python app.py

Project Overview

  • Farmer Module: Allows farmers to log in and upload images of cassava leaves for disease identification. The system predicts the disease and provides prevention methods.

  • Agricultural Officer Module: Officers can log in to manage disease data, including adding new diseases and updating prevention methods.

Abstract

Cassava plants are vital for food security in Africa, but viral diseases threaten crop yields. This project trains a CNN model on ~21k images to classify 4 disease types and healthy plants. Using transfer learning with ResNet50, we achieved a validation accuracy of ~86%. Future work could involve Test Time Augmentation and experimenting with larger image resolutions and other architectures.

About

A Flask web application that uses a pre-trained ResNet50 model to identify cassava leaf diseases. The system allows farmers to upload leaf images and get disease predictions along with prevention methods. It includes modules for both Farmers and Agricultural Officers, with SQLite3 as the database for managing user and disease information.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages