Git Product home page Git Product logo

plant-disease-detector's Introduction

Plant Disease Detector

A Flutter app that detects a plant's disease given a photo of an affected part of the plant.

Visuals

Installation

A Flutter installation is required to run this project. To install Flutter, visit the official installation documentation. Set up an editor of choice as specified here.

Download the project.

git clone https://github.com/root458/Plant-Disease-Detector.git

Run the below command inside the project directory to install necessary packages.

flutter pub get

To run the project in debug mode

flutter run

To generate a release build

flutter build apk

Locate the app-release.apk file from the directory build/app/outputs/flutter-apk/ and install in your Android smartphone or emulator to use.

Usage

On launching the application, you will be presented with the usage instructons. It follows that to get a suggestion of a disease affecting a plant of interest, take a photo of the plant, or select a photo of the plant from your gallery.

The application then runs the TFLITE model in the background to get a suggestion of the disease. It displays the results on the next screen Suggestions

Important to note

  • The tflite model has been trained to detect only a subset of the diseases. They include:

    • Pepper Bell Bacterial Spot
    • Pepper Bell Healthy
    • Potato Early Blight
    • Potato Healthy
    • Potato Late Blight
    • Tomato Bacterial Spot
    • Tomato Early Blight
    • Tomato Healthy
    • Tomato Late Blight
    • Tomato Leaf Mold
    • Tomato Septoria Leaf Spot
    • Tomato Spotted Spider Mites
    • Tomato Target Spot
    • Tomato Mosaic Virus
    • Tomato Yellow Leaf Curl Virus
  • The size of the dataset was only sufficient enough to make the model recognize selected diseases, but it faces problems with images of non-plants.

  • The application was built using Flutter and a tflite model from Teachable Machine Learning by Google. The dataset was from KAGGLE.

Contributing

Contributions towards the project are welcome. Specifically:

  • The tflite model used can be replaced with a more accurate one/one with more diseases.
  • The responsiveness of the application can be improved.
  • Warning messages can be added for non-plant inputs made by users.

License

MIT

Project Status

The requirements I set have been made possible. However, the application can still be improved. Additions/improvements can be made as specified in the Contributing section.

plant-disease-detector's People

Contributors

root458 avatar

Stargazers

 avatar

Forkers

sachiny11

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.