Skip to content

Harooon1212/PlantCare-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌱 PlantCare AI

An AI-powered Plant Disease Detection System built using Deep Learning and the PlantVillage Dataset.

The system detects plant diseases from uploaded leaf images and provides:

  • Disease Prediction
  • Confidence Score
  • Symptoms
  • Treatment Suggestions
  • Prevention Methods

Features

✅ 38 Plant Disease Classes
✅ MobileNetV2 Deep Learning Model
✅ Flask Backend API
✅ Interactive Frontend (HTML, CSS, JavaScript)
✅ Disease Confidence Visualization
✅ Dark Mode UI
✅ Drag & Drop Image Upload
✅ Real-time Disease Prediction


Technologies Used

  • Python
  • TensorFlow / Keras
  • MobileNetV2
  • Flask
  • HTML
  • CSS
  • JavaScript

Dataset

PlantVillage Dataset

Contains 38 plant disease classes across multiple crops including:

  • Apple
  • Tomato
  • Potato
  • Corn
  • Grape
  • Strawberry
  • Peach
  • Pepper
  • Squash
  • Soybean

Model Architecture

Transfer Learning using:

MobileNetV2

Architecture:

model = Sequential([
    base_model,
    GlobalAveragePooling2D(),
    Dropout(0.3),
    Dense(128, activation='relu'),
    Dropout(0.3),
    Dense(15, activation='softmax')
])

Project Screenshots

Home Page

image

Disease Detection

image

Prediction Results

image

Installation

Clone repository:

git clone https://github.com/yourusername/PlantCare-AI.git

Install dependencies:

pip install -r requirements.txt

Run Flask server:

python app.py

Open browser:

http://localhost:5000

Sample Images

Example plant leaf images are included in the project for testing.


Future Improvements

  • Live camera detection
  • Multi-language support
  • Disease severity estimation
  • Deployment on cloud
  • Mobile app integration

About

AI-powered plant disease detection system using Deep Learning (MobileNetV2) and PlantVillage Dataset with Flask backend and interactive frontend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages