An Explainable Deep Learning Framework for Crop Identification and Leaf Disease Detection Using MobileNetV2 and Grad-CAM
Conventional crop monitoring and plant disease diagnosis rely heavily on manual visual inspection by farmers or agricultural experts. While effective at small scales, manual assessment is time-consuming, subjective, and prone to delayed intervention during rapid dis-ease outbreaks. Although deep learning models such as Convolutional Neural Networks (CNNs) achieve strong classification performance on leaf imagery, many high-performing architec-tures are computationally heavy and operate as opaque “black boxes,” limiting user trust and practical adoption in resource-constrained agricultural settings. This paper presents an explainable deep learning framework for au-tomated crop identification and leaf disease detection using MobileNetV2 and Gradient-weighted Class Activation Mapping (Grad-CAM). The implemented prototype uses Python, Ten-sorFlow/Keras, OpenCV, NumPy, and Streamlit to preprocess RGB leaf images, perform transfer-learning-based classification across crop and disease classes, and generate visual heatmaps highlighting the exact symptomatic regions driving each prediction. Confidence-based diag-nostic categorization and structured validation checks are integrated into the workflow to verify prediction reliability across healthy and diseased samples. Results from the local pro-totype demonstrate real-time crop and disease classification, interpretable Grad-CAM visual overlays through an interactive web interface, and structured diagnostic feedback. Mobile edge deployment using TensorFlow Lite (TFLite), real-world field dataset expansion, disease severity quantification, and multilingual agronomic advisory integration are defined as planned extensions for the next development phase.
Authors
- DURVASULA SRIBALA
- SWAMY SETHU SHRUTHI
Institutions
- Koneru Lakshmaiah Education Foundation (IN)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-01
- DOI
- https://doi.org/10.21203/rs.3.rs-11891489/v1
- Primary Topic
- Smart Agriculture and AI
- Type
- preprint