How yasha-2006/plant_leaf_disease works
This is a Streamlit plant-disease recognition app. A user selects the recognition page, uploads an image, and requests a prediction; the app preprocesses the image, runs a TensorFlow model, and displays one of three class labels. The model is downloaded from Google Drive when absent. The repository is very small, so the graph reflects the workflow implemented in app.py rather than adding unshown subsystems.
Main entry points: app.py Loaded model
Components 9
User interface
- Streamlit interface
app.py - Uploaded image
app.py - Displayed prediction
app.py
Model inference
- Image preprocessing
app.py - Loaded model
app.py - Class labels
app.py - Model artifact
app.py
Other components
- User
- Google Drive
Connections 10
- User → Streamlit interface: selects page
app.py - User → Uploaded image: uploads image
app.py - User → Streamlit interface: requests prediction
app.py - Google Drive → Model artifact: provides model
app.py - Model artifact → Loaded model: loads
app.py - Uploaded image → Image preprocessing: resizes and batches
app.py - Image preprocessing → Loaded model: predicts on
app.py - Loaded model → Class labels: returns class index
app.py - Class labels → Displayed prediction: formats prediction
app.py - Displayed prediction → Streamlit interface: displays
app.py