A Support Vector Machine Approach for Robust Detection of Mung Bean Leaf Diseases in Uncontrolled Environments

§ Dolat-Usha Institute of Applied Sciences
‡ Dhiru-Sarla Institute of Management & Commerce

Send Message

To: Author

A Support Vector Machine Approach for Robust Detection of Mung Bean Leaf Diseases in Uncontrolled Environments

Article Fingerprint

ReserarchID

CSTGVMF777

A Support Vector Machine Approach for Robust Detection of Mung Bean Leaf Diseases in Uncontrolled Environments Banner

Key Research Insights

Synthesized scholarly intelligence & interactive research assistant
  • English
  • Afrikaans
  • Albanian
  • Amharic
  • Arabic
  • Armenian
  • Azerbaijani
  • Basque
  • Belarusian
  • Bengali
  • Bosnian
  • Bulgarian
  • Catalan
  • Cebuano
  • Chichewa
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Corsican
  • Croatian
  • Czech
  • Danish
  • Dutch
  • Esperanto
  • Estonian
  • Filipino
  • Finnish
  • French
  • Frisian
  • Galician
  • Georgian
  • German
  • Greek
  • Gujarati
  • Haitian Creole
  • Hausa
  • Hawaiian
  • Hebrew
  • Hindi
  • Hmong
  • Hungarian
  • Icelandic
  • Igbo
  • Indonesian
  • Irish
  • Italian
  • Japanese
  • Javanese
  • Kannada
  • Kazakh
  • Khmer
  • Korean
  • Kurdish (Kurmanji)
  • Kyrgyz
  • Lao
  • Latin
  • Latvian
  • Lithuanian
  • Luxembourgish
  • Macedonian
  • Malagasy
  • Malay
  • Malayalam
  • Maltese
  • Maori
  • Marathi
  • Mongolian
  • Myanmar (Burmese)
  • Nepali
  • Norwegian
  • Pashto
  • Persian
  • Polish
  • Portuguese
  • Punjabi
  • Romanian
  • Russian
  • Samoan
  • Scots Gaelic
  • Serbian
  • Sesotho
  • Shona
  • Sindhi
  • Sinhala
  • Slovak
  • Slovenian
  • Somali
  • Spanish
  • Sundanese
  • Swahili
  • Swedish
  • Tajik
  • Tamil
  • Telugu
  • Thai
  • Turkish
  • Ukrainian
  • Urdu
  • Uzbek
  • Vietnamese
  • Welsh
  • Xhosa
  • Yiddish
  • Yoruba
  • Zulu
Reading Preferences
Font Size
Line Spacing
Background
This converted HTML version may contain rendering inconsistencies. Please refer to the PDF for the authoritative version, or click here to provide feedback.

Abstract

The early and accurate detection of foliar diseases is crucial for improving crop yield and ensuring sustainable agricultural practices. This study presents a Plant Foliar Disease Identification Model (PFDIM) for mung bean (Vigna radiata) leaves using a Support Vector Machine (SVM) classifier, specifically designed for operation in uncontrolled environmental conditions. A custom dataset of 1,307 field-captured images was developed, encompassing both healthy and diseased samples affected by Cercospora Leaf Spot, Powdery Mildew, and Yellow Mosaic Virus. The proposed model integrates preprocessing techniques such as image resizing, augmentation, HSV-based segmentation, and Histogram of Oriented Gradients (HOG) feature extraction to enhance robustness and accuracy. Through Grid Search optimization with 5-fold cross-validation, the model achieved 100% training accuracy and 89% testing accuracy, demonstrating strong generalization across variable lighting, background, and noise conditions. Furthermore, a user-friendly interface, titled Leaf Disease Classification, was developed to allow real-time detection and classification through simple image uploads, enabling accessibility for farmers and researchers. The results confirm that SVM provides reliable, scalable, and cost-effective performance for disease identification in real-world agricultural environments. This research contributes a practical, AI-based solution for early mung bean disease detection, supporting precision agriculture and sustainable crop management practices.

Introduction

Agriculture continues to be the backbone of the Indian economy, providing livelihood to a large portion of the population and serving as the foundation for food security and rural development (FAO, 2023). However, agricultural productivity is frequently affected by various biotic stresses, among which plant diseases are considered the most serious threat (Pantazi et al., 2019). The diseases cause significant yield loss, reducing both the quality and quantity of crops and leading to economic setbacks for farmers. Foliar diseases have a major impact on plant health and crop productivity, widening the gap between food demand and supply (Bhimte & Thool, 2018). Traditional methods of disease detection generally rely on farmers’ observations or expert advice. These visual inspections, although useful, are time-consuming, subjective, and often limited by the availability of experts (Dhaware & Wanjari, 2017). In large-scale farming, manual monitoring becomes difficult, and delays in identifying infections can result in severe crop damage. Hence, there is a growing need for fast, reliable, and automated methods that can assist in the early detection of plant diseases (Rajiv et al., 2020). Recent developments in computational techniques and image analysis have opened new possibilities for agricultural disease diagnosis. Since most plant diseases show visible symptoms on leaves—such as discoloration, spots, and irregular patterns—digital image processing combined with machine learning offers a practical and efficient approach (Arivazhagan et al., 2013). Machine learning models, particularly Support Vector Machines (SVM), have shown strong potential for identifying and classifying plant diseases with high accuracy, even under variable environmental conditions (Sundaram et al., 2023; Jha et al., 2023). These systems allow automatic identification of diseased leaves, reducing human error and improving precision. Pulses are an important component of Indian agriculture due to their nutritional value and soil-enriching properties (Bachhal et al., 2024). Among them, mungbean (Vigna radiata), commonly known as green gram, is a major pulse crop valued for its high protein content and nitrogen-fixing ability. However, mungbean cultivation is often threatened by foliar diseases such as Cercospora Leaf Spot, Powdery Mildew, and Yellow Mosaic Virus, which can severely affect crop productivity (Gavhale & Gawande, 2014). Detecting these diseases accurately in real-world field environments is challenging due to variations in lighting, background, and image quality (Krishnan et al., 2023). The present study proposes a Plant Foliar Disease Identification Model (PFDIM) for mungbean leaves using the Support Vector Machine (SVM) algorithm, focusing specifically on performance under uncontrolled environmental conditions. Leaf images were captured directly from field environments, including natural elements such as soil, stems, and background vegetation. The system involves preprocessing, segmentation, feature extraction, and classification stages. The SVM classifier was selected for its ability to handle high-dimensional feature spaces and its robustness to environmental variations (Youwen et al., 2008; Meunkaewjinda et al., 2008). The findings of this study indicate that SVM can effectively identify mungbean leaf diseases in uncontrolled conditions with accuracy despite variations. The proposed approach offers a practical, scalable, and low-cost method for field-level disease detection. By integrating machine learning into agricultural practices, this research supports early disease diagnosis, reduced pesticide use, and sustainable crop management in India (Kumar & Patel, 2019; Pantazi et al., 2019).

Literature review

Bhimte and Thool (2018) developed a cotton leaf disease detection system using an SVM classifier to identify disorders such as bacterial blight and magnesium deficiency. Hussein and Abbas (2019) proposed a leaf disease detection model using an SVM classifier on a dataset of 799 images, achieving 8 8 . 1 % accuracy. Biswas et al. (2016) classified grape leaf diseases such as Anthracnose, Powdery Mildew, and Downy Mildew using image processing and several machine learning algorithms including SVM, achieving 8 6 % accuracy. Arvind et al. (2018) worked on maize leaf disease detection using 2,000 images from the PlantVillage dataset and reported an average accuracy of 8 3 . 7 % with SVM. Kumar et al. (2019) implemented a model that predicts the best-suited crop for farmers and detects pest attacks using SVM and Decision Tree algorithms. Meunkaewjinda et al. (2008) employed an unsupervised self-organizing map to cluster leaf colors, followed by SVM to distinguish between healthy and diseased grapevine leaves. Similarly, Youwen et al. (2008) extracted color, shape, and texture features from cucumber leaves and used SVM for disease classification, reporting better accuracy than neural networks. Rajiv et al. (2020) combined Gray-Level Co-occurrence Matrix (GLCM) features with SVM and compared results with KNN, obtaining accuracies between 9 2 . 4 4 % and 9 6 . 6 5 % . Yao et al. (2009) and Jian and Wei (2010) both applied SVM with radial basis function kernels for rice and cucumber disease classification using color- and texture-based features. Arivazhagan et al. (2013) designed a lightweight software solution for leaf disease recognition based on texture and color analysis, while Dhaware et al. (2017) presented a detailed review of image preprocessing, segmentation, and classification algorithms used for leaf disease detection. Pantazi et al. (2019) introduced an automated leaf disease detection system across multiple crops with an accuracy of 9 5 % . Gavhale et al. (2014) used K-means clustering for segmenting leaf lesions and SVM for classification, and Ganatra and Patel (2020) compared various classifiers—Random Forest, SVM, ANN, and KNN—where SVM achieved 6 7 . 2 7 % accuracy. Sundaram et al. (2023) combined CNN and SVM to classify infected plant leaves, showing improved results through hybridization. Krishnan et al. (2023) proposed a computer-aided detection model for plant leaf disease and discussed SVM’s reliability in complex environmental conditions. Bachhal et al. (2024) developed a PRF-SVM hybrid model integrating PSPNet, ResNet50, and fuzzy SVM to identify maize leaf diseases under natural light variations. Jha et al. (2023) presented a Support Vector Machine-based crop disease classification approach using Green Chromatic Coordinate and attention-based features, achieving up to 9 9 . 6 9 % accuracy. These studies collectively demonstrate that SVM remains one of the most effective classifiers for plant disease detection, particularly when applied to images captured under uncontrolled, real-world field conditions where environmental noise and lighting variations present major challenges.

Methods and Procedures

The proposed model PLANT Leaf DISEASES IDENTIFICATION MODEL - (PFDIM) aims to enhance accuracy and robustness in disease classification by utilizing field-captured images that include natural variations in lighting, background, and leaf orientation, ensuring reliable performance under practical agricultural conditions. The Plant Foliar Disease Identification Model (PFDIM) is a proposed system developed to automate the process of leaf disease detection. The model begins by collecting image data from field sources. Once the images are obtained, they are divided into appropriate sets for further training and feature extraction. After preprocessing, the model performs classification to determine whether the leaf is healthy. The system presents the produced results by displaying the result image along with the identified disease status. Figure 1 shows the proposed model for Leaf diseases identification system. The Plant Foliar Disease Identification Model (PFDIM) consists of four main stages designed to achieve accurate identification of mungbean leaf diseases. These stages include data collection, image dataset preparation, the leaf disease recognition system engine, and result generation. The leaf disease recognition system engine forms the central part of PFDIM and is responsible for performing the key operations such as isolating leaf regions. A custom dataset was developed since there is no standard dataset available for mungbean leaves. Although several plant image datasets exist, such as PlantVillage, Flavia, Swedish, New Plant Disease, and Coffee datasets, none of them include samples for mungbean plants. Therefore, images were collected manually from actual field conditions.

Plant Leaf Diseases Identification Model (PFDIM)

The dataset includes images of both healthy and diseased mungbean leaves belonging to three major diseases—Cercospora Leaf Spot, Powdery Mildew, and Yellow Mosaic Virus. The images were captured from experimental farms at Navsari Agricultural University, Gujarat, and nearby village fields. The process of dataset creation involved selecting healthy and infected plants, capturing high-quality images, and organizing them systematically for analysis. The image dataset serves as the foundation for model development and contains samples captured under natural field environments with variations in lighting, background, and leaf orientation. Each image represents real-world agricultural conditions, which enhances the robustness and practicality of the proposed system. All images were captured using Oppo A5 (13MP) and Mi Note 8 Pro (64MP) smartphone cameras. In total, the dataset comprises 1,307 images, including 367 healthy and 940 diseased samples. This diverse field-based dataset provides realistic input for the PFDIM model, ensuring reliable performance in uncontrolled agricultural environments. Table 1 represents the dataset information.

EnvironmentCercosporaHealthyPowdery MildewYellow Mosaic
Controlled224211225223
Uncontrolled10215641125

Dataset

Figure 2 shows the leaf disease recognition system engine (LDRSE). The Leaf Disease Recognition System Engine (LDRSE) consists of three main stages. The first stage is preprocessing, where the images are enhanced, resized, and noise is removed to improve quality. The second stage is feature extraction, which identifies important visual characteristics of the leaf such as color, shape, and texture. The final stage is identification and classification where the extracted features are analyzed using the SVM classifier to determine the disease status and prepare it for further analysis. This stage involves several key operations such as RGB image acquisition and color transformation, normalization, resizing, masking of green pixels, segmentation, morphological adjustments, and extraction of the region of interest (ROI). Through RGB and color transformation, RGB images are converted into a standardized color space representation to simplify further processing. The images are then resized to maintain uniform dimensions across the dataset. To improve model robustness, data augmentation techniques such as rotation, flipping, scaling, and shifting are applied to artificially increase the dataset size and variability. The segmentation step divides each image into distinct regions to isolate the leaf area and separate it from the background, improving the precision of subsequent analysis. Finally, the ROI extraction isolates the diseased portion of the leaf, which becomes the focus for analysis. In the feature extraction phase, the inherent visual properties of the leaf are identified and measured. This step reduces data complexity while retaining key discriminative characteristics to differentiate between healthy and infected leaves. The classification phase involves training and testing the model using the extracted features. The Support Vector Machine (SVM) classifier is employed to assign specific categories based on identified characteristics. This step determines whether the plant is healthy or diseased, and the system output displays the analysis image along with the classification results. The system accuracy indicates whether the leaf is healthy or affected by a specific disease, completing the automated detection process. Preprocessing plays a crucial role in preparing images for analysis by improving their quality, consistency, and clarity. This stage involves key operations such as image resizing, augmentation, and edge detection. All images are standardized to 256 × 256 pixels using the resize() function, ensuring uniform dimensions and eliminating redundant details. Image augmentation expands the dataset and increases its diversity through transformations like rotation, translation, scaling, shearing, and flipping, which enhances model generalization and minimizes overfitting. Edge detection, implemented using the Canny algorithm, identifies boundaries by detecting intensity patterns in the image. Segmentation and feature extraction are essential steps for isolating leaf regions and identifying significant visual features. In this study, HSV color mapping and the GrabCut algorithm were applied to segment leaf images captured under natural conditions. The HSV technique converts RGB images into the HSV colorspace to highlight dominant leaf colors such as green, yellow, and brown, improving region separation. The GrabCut algorithm further refines object boundaries by iteratively distinguishing the leaf from the background. After segmentation, the Histogram of Oriented Gradients (HOG) method is used to extract shape-based features by analyzing gradient directions. Images are then converted to grayscale and stored as NumPy arrays for efficient processing. Grayscale conversion reduces data complexity while preserving brightness information, resulting in faster and more reliable classification performance.

Leaf Diseases Recognition System Engine

Resizing of Image (Left) and HSV Application (Right)

Performing GrabCut (Left) and Applying HOG (Right)

For training the SVM model under an uncontrolled environment, the preprocessing operations and parameter settings were kept consistent with those used in the controlled setup. The training procedure involved several steps, beginning with the import of essential libraries, followed by feature extraction using the Histogram of Oriented Gradients (HOG) method. The dataset was then loaded and divided into training and testing subsets. After this, the Support Vector Machine (SVM) classifier was initialized, trained on the dataset, and later evaluated for performance. The key hyperparameters considered for tuning included the kernel type, regularization factor (C), and gamma value.

Result and discussion

Initially, the model was trained using a polynomial kernel with a regularization parameter (C) of 0.02 and implemented using a one-vs-one classification approach. This configuration achieved 99.76 % training accuracy and 63.88 % testing accuracy, suggesting that the model suffered from overfitting. To address this issue, Grid Search with 5-fold cross-validation was utilized to identify the optimal combination of hyperparameters. The search was conducted over a range of values for C, gamma, kernel type, polynomial degree, and classification strategy. The best-performing setup was found to be C = 0.1 , gamma = 1 , kernel = polynomial, degree = 4 , and strategy = one-vs-one , which resulted in 100 % training accuracy and 89 % testing accuracy. This fine-tuned configuration improved the model’s generalization capability while minimizing overfitting. Figure 7 represents the Confusion Matrix for the uncontrolled environment, summarizing the performance metrics such as precision, recall, F1-score, and overall accuracy achieved during evaluation.

In an uncontrolled environment, each image contains the mungbean leaf along with additional background elements such as soil, stems, and surrounding leaves. Table 2 presents the accuracies obtained by different classifiers when evaluated under these natural field conditions. The Support Vector Machine (SVM) classifier achieved a training accuracy of 100 % and a testing accuracy of 89 % in the uncontrolled environment. This indicates that while the model performed exceptionally well during training, it also maintained strong generalization capability when tested on unseen field data, demonstrating its effectiveness in real-world conditions. A user-friendly application named "Leaf Disease Classification" was developed for the quick and accurate identification of mungbean leaf status. The interface allows users to upload a leaf image, which the system automatically analyzes to determine whether the leaf is healthy or affected by a specific disease. Designed for simplicity, the tool can process images through a quick upload. Users can select an image from their device, view it on the interface, and then click "DETECT" to obtain instant results showing the health status and identifying the disease if present. This application provides farmers and researchers with a tool to determine mungbean disease status quickly and accurately.

Confusion Matrix for Uncontrolled Environment

Confusion Matrix for Uncontrolled Environment

image

Confusion Matrix for Uncontrolled Environment

Conclusion

In this study, a Plant Foliar Disease Identification Model (PFDIM) was developed to detect mungbean leaf diseases under uncontrolled field conditions. A custom dataset of 1,307 images—including healthy and diseased samples of Cercospora Leaf Spot, Powdery Mildew, and Yellow Mosaic Virus—was created using field-captured images with natural background variations. The model utilized a Support Vector Machine (SVM) classifier with preprocessing techniques such as resizing, augmentation, HSV-based segmentation, and HOG feature extraction to enhance accuracy. After hyperparameter tuning through Grid Search with 5-fold cross-validation, the model achieved 100 % training accuracy and 89 % testing accuracy, demonstrating strong performance and reliability. The results indicate that SVM effectively identifies leaf diseases in real-world agricultural environments, providing a practical and efficient solution for early disease detection and crop management.

References

20 Cites in Article
  1. 1. S. Arivazhagan,R. N. Shebiah,S. Ananthi,S. V. Varthini (2013). Detection of unhealthy region of plant leaves and classification of plant leaf diseases using texture features. Agricultural Engineering International: CIGR Journal, 15(1), 211–217.
  2. 2. A. Arvind,P. Sharma,R. Mehta (2018). Detection of maize leaf diseases using Support Vector Machine. PlantVillage Dataset Study
  3. 3. M. Bachhal,R. Kumar,D. S. Mehta (2024). PRF-SVM hybrid model for maize leaf disease detection under natural conditions. Computers and Electronics in Agriculture, 219, 109001.
  4. 4. N. R. Bhimte,V. R. Thool (2018). Diseases detection of cotton leaf spot using image processing and SVM classifier. 2018 Second International Conference on Intelligent Computing and Control Systems (ICICCS), 340–344.
  5. 5. K. K. Biswas,R. Singh,S. Ghosh (2016). Detection of grape leaf diseases using image processing and machine learning approaches. International Journal of Computer Applications, 141(3), 12–17.
  6. 6. M. Dhaware,A. Wanjari (2017). A review on plant leaf disease detection and classification techniques. International Journal of Computer Science and Information Technologies, 8(2), 256–258.
  7. 7. Food and Agriculture Organization (FAO) (2023). The State of Food and Agriculture 2023: Climate-smart innovation for a sustainable future.
  8. 8. K. R. Gavhale,U. J. Gawande (2014). An overview of the research on plant leaves disease detection using image processing techniques. IOSR Journal of Computer Engineering, 16(1), 10–16.
  9. 9. H. Ganatra,C. Patel (2020). Machine learning-based plant leaf disease detection and comparison of classifiers. International Journal of Advanced Research in Computer and Communication Engineering, 9(5), 1–6.
  10. 10. A. Hussein,B. Abbas (2019). Leaf disease detection using SVM classifier. International Journal of Scientific Research in Computer Science, Engineering and Information Technology, 5(2), 245–250.
  11. 11. S. Jha,V. Luhach,G. S. Gupta,B. Singh (2023). Crop disease classification using Support Vector Machines with Green Chromatic Coordinate (GCC) and attention-based feature extraction for IoT-based smart agricultural applications. arXiv preprint arXiv:2311.00429
  12. 12. L. Jian,S. Wei (2010). Identification of cucumber leaf diseases based on SVM. Modern Agricultural Science and Technology, 5(4), 45–48.
  13. 13. R. S. Krishnan,P. Rajendran,K. Baskar (2023). Computer-aided detection of leaf diseases in agriculture using SENet-CNN and SVM comparison. Journal of Applied and Natural Science, 15(1), 111–118.
  14. 14. S. Kumar,N. Patel (2019). Crop prediction and pest detection using Support Vector Machine and Decision Tree. International Journal of Innovative Technology and Exploring Engineering, 8(9), 1803–1808.
  15. 15. A. Meunkaewjinda,P. Kumsawat,K. Attakitmongcol,A. Srikaew (2008). Grape leaf disease detection from color imagery using hybrid intelligent system. Proceedings of the 5th IEEE International Symposium on Signal Processing and Information Technology, 111–116.
  16. 16. X. E. Pantazi,D. Moshou,A. A. Tamouridou (2019). Automated leaf disease detection in different crop species through image features analysis and one-class classifiers. Computers and Electronics in Agriculture, 156, 96–104.
  17. 17. P. Rajiv,A. Sharma,D. Kumar (2020). Leaf disease classification using GLCM and SVM: A comparative study with KNN. International Journal of Innovative Research in Science, Engineering and Technology, 9(4), 4405–4412.
  18. 18. P. Sundaram,M. Oun Zaidi,D. Damodharan (2023). Infected plant leaf detection using hybrid CNN–SVM classifier. Materials Today: Proceedings, 72, 3245–3251.
  19. 19. Q. Yao,Z. Guan,Y. Zhou,J. Tang,Y. Hu (2009). Application of SVM for detecting rice diseases based on shape and color texture features. Proceedings of the 2009 International Conference on Engineering Computation, 79–83.
  20. 20. L. Youwen,Z. Yan,L. Guoxiong (2008). Cucumber disease recognition based on image processing and SVM. Proceedings of the 2008 International Conference on Bioinformatics and Biomedical Engineering, 2518–2521.

Funding

No external funding was declared for this work.

Conflict of Interest

The authors declare no conflict of interest.

Ethical Approval

No ethics committee approval was required for this article type.

Data Availability

Not applicable for this article.

How to Cite This Article

Akruti Naik, Nirav Desai. 2026. "A Support Vector Machine Approach for Robust Detection of Mung Bean Leaf Diseases in Uncontrolled Environments". Global Journal of Computer Science and Technology - F: Graphics & Vision GJCST-F Volume 26 (N/A).

More Citation Formats

Download Citation

Journal Specifications

Crossref Journal DOI 10.17406/gjcst

Print ISSN 0975-4350

e-ISSN 0975-4172

Keywords
Classification
LCC QK771.A3
ACM I.4.6
ACM I.5.2
arXiv cs.CV
AGRIS H20
Version of record

v1.2

Language
English
Order Article Reprint
Experience in AR

Explore published articles in an immersive Augmented Reality environment. Our platform converts research papers into interactive 3D books, allowing readers to view and interact with content using AR and VR compatible devices.

Read in 3D

Your published article is automatically converted into a realistic 3D book. Flip through pages and read research papers in a more engaging and interactive format.

Article Matrices
Total Views: 125
Total Downloads: 6
All Trends

Request Access

Please fill out the form below to request access to this research paper. Your request will be reviewed by the editorial or author team.
X

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

High-quality academic research articles on global topics and journals.

A Support Vector Machine Approach for Robust Detection of Mung Bean Leaf Diseases in Uncontrolled Environments

Akruti Naik
Akruti Naik Dolat-Usha Institute of Applied Sciences
Nirav Desai
Nirav Desai Dolat-Usha Institute of Applied Sciences