How orkhankhalilzade/gul-xesteligi-app works
This is a Streamlit rose-leaf diagnosis demo. A user uploads an image; the app displays it, removes background, resizes and batches it, then runs a bundled model to classify it as healthy, rust, or sawfly damage and show confidence scores. The graph separates the interface, image preparation, and diagnosis/result stages. The workflow is visible in app.py; no separate capabilities are documented in the README. The model artifact is present in the tree, but its internals were not inspected.
Main entry points: app.py Image upload · best_model_v2.keras Classifier model
Components 11
User interface
- Image upload
app.py - Image preview
app.py - Diagnosis results
app.py
Image preparation
- Image preparation
app.py - Background removal
app.py - Resize and batch
app.py
Diagnosis
- Model loader
app.py - Model inference
app.py - Class and confidence
app.py
Other components
- User
- Classifier model
best_model_v2.keras
Connections 10
- User → Image upload: uploads image
app.py - Image upload → Image preview: displays image
app.py - Image upload → Image preparation: provides image
app.py - Image preparation → Background removal: converts image
app.py - Image preparation → Resize and batch: resizes image
app.py - Model loader → Classifier model: loads model
app.py - Resize and batch → Model inference: provides batch
app.py - Model inference → Classifier model: predicts with
app.py - Model inference → Class and confidence: returns scores
app.py - Class and confidence → Diagnosis results: renders diagnosis
app.py