Al1Abdullah commited on
Commit
18f1e72
Β·
verified Β·
1 Parent(s): e9fa1a5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -6
README.md CHANGED
@@ -35,11 +35,11 @@ This project integrates a robust **TensorFlow/Keras** backend with a lightweight
35
 
36
  ## Key Features
37
 
38
- * ** Instant Analysis:** Upload an image and get results in milliseconds.
39
- * ** Deep Learning Accuracy:** Powered by a custom-trained CNN model (`plant_disease_model_final.h5`).
40
- * ** Responsive Interface:** A clean, user-friendly web UI built with HTML5/CSS3.
41
- * ** Containerized:** Fully Dockerized for consistent performance across any environment.
42
- * ** Secure & Private:** Images are processed securely within the session.
43
 
44
  ---
45
 
@@ -74,4 +74,39 @@ cd Plantoi
74
  docker build -t plantoi-app .
75
 
76
  # 3. Run the container
77
- docker run -p 7860:7860 plantoi-app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
  ## Key Features
37
 
38
+ * **Instant Analysis:** Upload an image and get results in milliseconds.
39
+ * **Deep Learning Accuracy:** Powered by a custom-trained CNN model (`plant_disease_model_final.h5`).
40
+ * **Responsive Interface:** A clean, user-friendly web UI built with HTML5/CSS3.
41
+ * **Containerized:** Fully Dockerized for consistent performance across any environment.
42
+ * **Secure & Private:** Images are processed securely within the session.
43
 
44
  ---
45
 
 
74
  docker build -t plantoi-app .
75
 
76
  # 3. Run the container
77
+ docker run -p 7860:7860 plantoi-app
78
+ ```
79
+ ### Method 2: Manual Python Setup
80
+ ```bash
81
+ # 1. Create a virtual environment
82
+ python -m venv venv
83
+ source venv/bin/activate # On Windows: venv\Scripts\activate
84
+
85
+ # 2. Install dependencies
86
+ pip install -r requirements.txt
87
+
88
+ # 3. Run the application
89
+ python app.py
90
+ ```
91
+ ## Project Structure
92
+ ```text
93
+ Plantoi/
94
+ β”œβ”€β”€ model/
95
+ β”‚ └── plant_disease_model_final.h5 # The trained AI model
96
+ β”œβ”€β”€ static/
97
+ β”‚ β”œβ”€β”€ css/ # Stylesheets
98
+ β”‚ β”œβ”€β”€ js/ # Frontend scripts
99
+ β”‚ └── images/ # Assets
100
+ β”œβ”€β”€ templates/
101
+ β”‚ └── index.html # Main user interface
102
+ β”œβ”€β”€ app.py # Main Flask application entry point
103
+ β”œβ”€β”€ disease_data.py # Disease info and treatment dictionary
104
+ β”œβ”€β”€ Dockerfile # Container configuration
105
+ └── requirements.txt # Python dependencies
106
+ ```
107
+ ## Disclaimer
108
+ This tool is intended for educational and assistive purposes. While the AI model strives for high accuracy, it should not replace professional agricultural advice. Always consult with a plant pathologist for critical crop management decisions.
109
+
110
+ <div align="center">
111
+ Developed by Ali Abdullah <br> BS Artificial Intelligence Student at SZABIST Islamabad
112
+ </div>