1Department of Forestry, College of Agriculture, RaipurIndira Gandhi Krishi Vishwavidyalaya, Raipur-492 012, Chhattisgarh, India
2Department of Bachelor of Business Administration, K S Rangasamy College of Arts and Science, Thiruchengodu-637 215, Namakkal, Tamil Nadu, India
3Pharmacy Manager, Crawford Pharmacy of Pleasanton, Texas, USA
4Department of Lifelong Learning and Extension, University of Mumbai, Mumbai-400 020, Maharashtra, India
5Department of Biotechnology, Karnatak Lingayat Education Technological University, Hubballi-580 031, Karnataka, India
*Corresponding Author: Shivam Dinkar, Department of Forestry, College of Agriculture, Indira Gandhi Krishi Vishwavidyalaya, Raipur-492 012, Chhattisgarh, India, Email: shivamdinkar1997@gmail.com
Online published on 20 January, 2026.
Mango leaf diseases reduce fruit yield and quality, requiring early detection for effective management. Traditional methods rely on manual inspection, which is slow, subjective and error-prone. Deep learning, especially Convolutional Neural Networks (CNNs), offers automation but faces challenges. These include class imbalance, poor dataset generalization and limited real-world scalability. This study develops a robust CNN model to improve mango leaf disease classification.
A dataset of 2,494 mango leaf images from the Mendeley database was used. Images were categorized into anthracnose, bacterial canker, cutting weevil, dieback and healthy. Preprocessing involved image resizing, normalization and data augmentation to enhance model performance. The dataset was split into 80% training, 10% validation and 10% testing. A six-layer CNN with ReLU activation, max-pooling, dropout (0.5) and fully connected layers was trained for 25 epochs. The model used Adam optimizer and categorical cross-entropy loss.
The model achieved 98.03% training accuracy and 97.77% validation accuracy over 25 epochs. It had a low validation loss (0.0485), indicating good generalization. The confusion matrix showed high precision and recall across all classes. The overall classification accuracy was 96.53%, with a macro-average F1-score of 96.57%. Anthracnose and Dieback were perfectly classified. Bacterial canker had a lower precision (0.8500), suggesting minor misclassifications. AUC analysis showed good disease separation, with Cutting Weevil achieving the highest AUC (0.72). This CNN model can automate mango disease detection, reducing reliance on manual inspections. It can be useful for smart farming systems and mobile applications for real-time disease diagnosis. Future work will focus on expanding the dataset, optimizing for mobile use and integrating environmental factors for better disease prediction.
Agriculture, Convolutional neural networks, Mango leaf disease, Mendeley, Smart detection