Skip to content

Dipukumar1997/plant_using_ht

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌿 Plant Disease Prediction App

Welcome to the Plant Disease Prediction App, an AI-powered tool to detect plant diseases from leaf images using deep learning and intelligent knowledge retrieval.

πŸ”— Live Demo

πŸ‘‰ https://plant-using-ht.onrender.com

⚠️ Please note: This project is hosted on Render's free tier, so it may take a few seconds to load if it hasn’t been accessed in the past 15 minutes.
As a student, I currently cannot afford the paid Render plan. Thank you for your patience and support!


πŸ” Project Overview

This system is designed to help farmers, researchers, and gardeners by providing instant, reliable plant disease detection from leaf images. It uses a Convolutional Neural Network (CNN) model for classification, along with Wikipedia and Gemini 1.5 Flash (Google AI) to provide disease-related information and suggested remedies.


πŸ“¦ Dataset & Model

The model is trained using the PlantVillage dataset and saved in .h5 format.

πŸ“ Download the trained model file (.h5)


πŸ’» Technologies Used

Technology Purpose
TensorFlow / Keras Deep learning & CNN for image classification
HTML, CSS, JS Frontend for web interface
Flask Python-based backend for handling requests
Streamlit Additional UI layer for dynamic rendering
Wikipedia API Primary source for disease info
Gemini 1.5 Flash AI-generated fallback responses for reliability
NumPy & Pillow Image and data processing

πŸ”§ Key Features

  • βœ… Upload plant leaf images to predict diseases in real time
  • βœ… Display disease name, symptoms, and cure suggestions
  • βœ… Dual-source knowledge (Wikipedia + Gemini AI)
  • βœ… Fully responsive UI for mobile and desktop
  • βœ… Lightweight, fast, and informative
  • βœ… AI fallback ensures no empty responses

🧠 How It Works

  1. User uploads an image of a diseased leaf.
  2. The backend (Flask + TensorFlow) runs inference using the trained CNN model.
  3. Once the disease is identified:
    • The app fetches detailed info from Wikipedia.
    • If Wikipedia lacks data, Gemini 1.5 Flash generates a reliable fallback answer.
  4. The user is shown disease name, symptoms, and treatment steps.

πŸ“ Real-World Applications

  • 🚜 Crop disease detection for farmers
  • πŸ§ͺ Tools for agriculture and biology researchers
  • πŸ“± Instant mobile diagnostics in remote areas
  • πŸŽ“ Projects for AI and bioinformatics students
  • πŸ’‘ Use in tech fairs, hackathons, and exhibitions

πŸ“¬ Developer’s Note

β€œThis project is a meaningful blend of AI, computer vision, and real-world utility. It was made with a lot of learning, passion, and love for solving genuine problems in agriculture.”

Built with ❀️ as part of a student innovation journey. Inspired by a conversation titled "Plant Disease Prediction App" with ChatGPT (OpenAI), which guided the AI logic, deployment, and design philosophy.


πŸ™Œ Support & Contact

Feel free to reach out if you'd like to contribute, share feedback, or showcase this project :

πŸ’š Let’s make agriculture smarter β€” one leaf at a time.

About

A production-grade web application for plant disease detection using machine learning and modern web technologies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published