Skip to content

MohitGupta121/DiseaseDetection

Repository files navigation

Disease Detection

Build

GitHub license ktlint Twitter Follow

Disease Detection is a plant disease detecter ✅ Android application 📱 built using Tensorflow Lite, Kaggle and Teachable Machine.

You can Install and test latest Disease Detection app from below 👇

Disease Detection

⚙️ Features

  • Take the image from camera and get Plant Disease.
  • Also redirect to google for more details.

🚀 Technology Used

  • Kaggle
  • Teachable Machine Model.
  • Tensorflow Lite

📸 Screenshots

diseasedetection Screenshot_2022-05-31-12-23-27-332_com android camera Screenshot_2022-05-31-12-22-58-343_com example diseasedetection

🎥 Demo Screen Recording

demo.mp4

Built With 🛠

  • Kotlin - First class and official programming language for Android development.
  • Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
    • ViewModel - Stores UI-related data that isn't destroyed on UI changes.
    • ViewBinding - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views.
  • Material Components for Android - Modular and customizable Material Design UI components for Android.
  • Teachable Machine - A fast, easy way to create machine learning models for your sites, apps, and more – no expertise or coding required.
  • Kaggle Kaggle, a subsidiary of Google LLC, is an online community of data scientists and machine learning practitioners.
  • Tensorflow Lite TensorFlow Lite is a mobile library for deploying models on mobile, microcontrollers and other edge devices.

Package Structure

com.example.diseasedetection    # Root Package
.
├── data                # For data handling.
│   └── repository      # Single source of data.   
|
├── di                  # Dependency Injection             
|
├── ui                  # Activity/View layer
│   ├── viewmodel       # ViewModels
│   └── adapter         # Adpaters
│   └── fragment        # Fragnents
|
└── utils               # Utility Classes / Kotlin extensions

⚡ Dependencies Used

* Tensorflow Lite 0.1.0

License

MIT License

Copyright (c) 2022 Mohit Gupta

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.