[Paper Review] MangoLeafBD: A Comprehensive Image Dataset to Classify Diseased and Healthy Mango Leaves
This paper introduces MangoLeafBD, the first publicly available, standard image dataset of 4,000 mango leaf images from Bangladesh, covering seven diseases and healthy leaves. It evaluates three deep learning models—custom CNN, ResNet50, and CNN-SVM—achieving high precision, recall, and F1 scores, offering a valuable benchmark for automated mango disease detection in agriculture.
Agriculture is of one of the few remaining sectors that is yet to receive proper attention from the machine learning community. The importance of datasets in the machine learning discipline cannot be overemphasized. The lack of standard and publicly available datasets related to agriculture impedes practitioners of this discipline to harness the full benefit of these powerful computational predictive tools and techniques. To improve this scenario, we develop, to the best of our knowledge, the first-ever standard, ready-to-use, and publicly available dataset of mango leaves. The images are collected from four mango orchards of Bangladesh, one of the top mango-growing countries of the world. The dataset contains 4000 images of about 1800 distinct leaves covering seven diseases. Although the dataset is developed using mango leaves of Bangladesh only, since we deal with diseases that are common across many countries, this dataset is likely to be applicable to identify mango diseases in other countries as well, thereby boosting mango yield. This dataset is expected to draw wide attention from machine learning researchers and practitioners in the field of automated agriculture.
Motivation & Objective
- To address the lack of standardized, publicly available datasets for mango leaf disease classification in machine learning.
- To develop a comprehensive, high-quality image dataset of mango leaves from Bangladesh, representing real-world agricultural conditions.
- To provide a benchmark for training and evaluating deep learning models in plant disease detection, particularly for mangoes.
- To support global applicability by focusing on diseases common across mango-growing regions, not limited to Bangladesh.
- To promote research in automated agriculture by enabling reproducible experiments with a well-curated, ready-to-use dataset.
Proposed method
- Collected 4,000 mango leaf images from four orchards across Bangladesh, covering 1800 distinct leaves and seven disease categories.
- Applied rigorous data cleaning, pre-processing, and data augmentation techniques (scaling, shearing, zooming, flipping) using TensorFlow's ImageDataGenerator.
- Designed a custom CNN with five convolutional layers (64, 64, 128, 128, 256 filters), ReLU activation, three max-pooling layers, and a 512-neuron dense layer.
- Implemented ResNet50 with 48 convolutional layers, residual connections to mitigate vanishing gradients, and pre-trained parameters via Keras/TensorFlow.
- Built a hybrid CNN-SVM model with five convolutional layers, ReLU activation, max-pooling, two fully connected layers (512 neurons), and an SVM output layer.
- Trained all models using categorical cross-entropy (CNN, ResNet50) and squared hinge loss (CNN-SVM), with Adam optimizer, batch size 128, and 100 epochs on GPU via Google Colab.
Experimental results
Research questions
- RQ1Can a large-scale, publicly available, and standardized mango leaf image dataset improve the performance and reproducibility of plant disease detection models?
- RQ2How do different deep learning architectures—custom CNN, ResNet50, and CNN-SVM—perform in classifying multiple mango leaf diseases and healthy leaves?
- RQ3To what extent does data augmentation enhance model generalization and performance on a limited but diverse mango leaf dataset?
- RQ4Can a dataset developed from a single country (Bangladesh) be effective for disease classification in other mango-growing regions with similar pathologies?
- RQ5What are the precision, recall, and F1-score metrics for state-of-the-art models when applied to this new, domain-specific dataset?
Key findings
- The MangoLeafBD dataset contains 4,000 images of 1,800 distinct mango leaves from four orchards in Bangladesh, covering seven disease categories and healthy leaves.
- The custom CNN model achieved high precision, recall, and F1 scores across all classes, demonstrating strong performance on the dataset.
- ResNet50 outperformed the custom CNN and CNN-SVM in terms of classification accuracy, leveraging residual connections to mitigate vanishing gradients.
- The CNN-SVM hybrid model showed competitive performance, indicating that combining feature extraction with a margin-maximizing classifier improves generalization.
- Data augmentation significantly expanded the effective training set, improving model robustness and reducing overfitting across all models.
- The dataset is publicly available and designed for immediate use in research, offering a foundation for future work in automated mango disease detection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.