Deep Learning-based Classification of Groundnut Leaf Diseases using AlexNet for Precision Agriculture

U
Ujwala Vishwajit Gaikwad1,*
V
Vishwajit Balaso Gaikwad1
S
Sonal Ajay Bankar2
D
Deepali Kishor Patil3
D
Debanjana Prasad4
D
Dakshata Argad5
1Department of Computer Engineering, Terna Engineering College, Nerul, Navi Mumbai-400 706, Maharashtra, India.
2Department of Computer Engineering, Lokmanya Tilak College of Engineering, Navi Mumbai-400 709, Maharashtra, India.
3Department of Information Technology, Ramrao Adik Institute of Technology, D Y Patil Deemed to be University Navi Mumbai-400 706, Maharashtra, India.
4Department of Biotechnology, School of Engineering and Technology, Noida International University, Greater Noida-203 201, Uttar Pradesh, India.
5Department of Information Technology, Terna Engineering College, Nerul, Navi Mumbai-400 706, Maharashtra, India.

Background: In order to increase crop productivity and ensure food security, early diagnosis of plant leaf diseases is essential. Crop health and productivity are greatly impacted by groundnut leaf diseases, including rust, early and late leaf spot and nutritional deficits. Conventional disease detection techniques depend on manual inspections, which are time-consuming and prone to errors. Recent advancements in deep learning provide an automated and efficient approach for plant disease classification.

Methods: This work proposes employing the AlexNet architecture to classify groundnut leaf states using deep learning. The dataset, sourced from the Mendeley database, comprises 3,058 images categorized into five classes. Preprocessing techniques, including resizing, rescaling and data augmentation, were applied to improve model outputs. The Adam optimizer was used to train the AlexNet model for 50 epochs with a learning rate of 0.00005. Performance evaluation was conducted using classification metrics and a confusion matrix.

Result: On the test set, the AlexNet model produced a classification accuracy of 97.83%. The model’s ability to differentiate between healthy and diseased groundnut leaves was demonstrated by the precision, recall and F1-score for each class being above 95%.  The confusion matrix showed minimal misclassification errors, further confirming the robustness of the model. The results indicate that the deep learning-based approach can serve as a reliable tool for automated disease detection in groundnut crops, aiding in precision agriculture and timely disease management.

Legumes such as groundnuts were important due to their nutritional, agricultural, economic and environmental benefits. Groundnuts were rich in proteins, healthy fats, vitamins B-complex and E and minerals like magnesium and phosphorus (Syed et al., 2020). They improved soil fertility by fixing atmospheric nitrogen through symbiosis with Rhizobium bacteria. This reduced dependence on synthetic fertilizers and supported sustainable agriculture (Harisudan et al., 2024; Kim and AlZubi, 2024). Groundnut cultivation also provided income to smallholder farmers and supported industries such as oil production, food processing and animal feed. In addition, groundnuts were drought tolerant and suitable for arid and semi-arid regions, which helped ensure food security under climate change (Daba et al., 2023).
       
Groundnut production was concentrated in countries such as India, China, Nigeria, the USA and Sudan (Gu et al., 2025). According to FAOSTAT, groundnuts were cultivated on 327 lakh hectares globally, with a total production of 538 lakh tonnes and productivity of 1648 kg per hectare (FAO, 2021). India had the largest cultivation area (54.2 lakh hectares) and was the second-largest producer, with 101 lakh tonnes in 2021-22 and productivity of 1863 kg per hectare (Aishwarya and Reddy, 2023). Despite this, productivity remained suboptimal due to diseases, pests and climatic factors. Groundnuts required warm temperatures (20-30°C), well-drained sandy loam soil and moderate rainfall (Syed et al., 2020). They were usually harvested within 90-150 days, with yields ranging from 1.5 to 3.5 tons per hectare (Gu et al., 2025; Lugito et al., 2022; Hai and Duong, 2024). However, production was affected by disease outbreaks, pest infestations, abiotic stress and market challenges.  Groundnut productivity and quality can also be influenced by pathogen colonization and associated biochemical characteristics of different Arachis hypogaea accessions. Studies on Aspergillus flavus have highlighted the importance of understanding disease-associated factors in groundnut production (Syraji and Jeyaramraja, 2022; Larsen et al., 2025). Pests like aphids, white grubs and termites further damaged crops. Drought and high temperatures also affected pod formation and oil content (Ghewande and Nandagopal, 1997). Crop productivity is influenced by important agronomic attributes and cultivation conditions, making the understanding of crop performance essential for sustainable agricultural production. Such agronomic considerations are important for improving productivity and supporting food security (Kumar et al., 2025; Cho, 2024). Artificial intelligence is increasingly transforming agricultural practices by improving resource efficiency, crop management, forecasting and decision-making (Mohammad et al., 2026; Ozçelik et al., 2026). However, effective AI adoption also depends on managerial readiness, technological accessibility, organizational support and appropriate institutional policies (Singh and Kaur, 2025). ML and DL methods provided faster and more accurate alternatives (Sasmal et al., 2024; Vaishnnave et al., 2020). These models identified features like leaf spots, blights and fungal infections with high precision. In addition, ML-based mobile applications and UAV imaging enabled real-time monitoring, which supported early intervention and reduced crop loss (Paek et al., 2026; Souza et al., 2026; Sriram and Kumari, 2026).
       
Houby (2018) applied the K-nearest neighbor (K-NN) method for classification based on extracted features, but the accuracy was limited. Guo et al., (2023) used hyperspectral imaging to assess peanut southern blight. This method captured data across many spectral bands and provided detailed information compared to traditional imaging.
 
Research gap
 
Deep learning has improved plant disease identification, but challenges remain. Most studies focus on crops like rice, wheat and tomatoes, while research on groundnut leaf diseases is limited. The effectiveness of AlexNet for groundnut disease classification has not been well explored. In order to overcome these problems, a public dataset is used, thorough preprocessing is applied and AlexNet’s performance is assessed.
 
Objectives
 
This study develops a deep-learning model for groundnut leaf disease classification. It enhances data quality through preprocessing and augmentation. The AlexNet architecture is implemented and evaluated for classification. Performance is measured using classification metrics and a confusion matrix. The study provides an automated detection tool to reduce reliance on manual methods.
Dataset description
 
The dataset for this study was from the Mendeley database. This dataset contains images of five different types of groundnut leaves: rust, nutritional deficit, late leaf spot, healthy and early leaf spot (Aishwarya and Reddy, 2023). The collection contains a total of 3058 images. These images were categorized into five groups: early leaf spot (885), healthy (929), late leaf spot (689), nutritional deficiency (329) and rust (226) leaves. Fig 1 displays a number of images of leaves suffering from various diseases.

Fig 1: Sample images from dataset.


       
Data acquisition was done using a Canon Mark II D camera with an APS-C sensor. The camera specifications include dimensions of 122.4 × 92.6 × 69.8 mm, a horizontal and vertical resolution of 72 dpi, a bit depth of 24, a 3.0-inch monitor, autofocus and a maximum continuous shooting rate of 5 fps. The images were collected during rainy and sunny days. The data annotation was done manually and data acquisition was carried out with the help of a pathologist. The following two groundnut farm fields in Karnataka were used for data collection: 1) Chilwadigi village groundnut farm field in Koppal district (Latitude: 15.39783 and Longitude: 76.161604) and 2) Yelburga Taluk groundnut farm field in Koppal district (Latitude: 15.618803 and Longitude: 76.027645).
       
Early leaf spot appears around 30 days after planting (DAP). It shows as light brown spots with yellow halos on leaves and spreads rapidly during rainy seasons. Late leaf spot, caused by Cercospora personata, occurs 7-8 weeks after planting and appears as small, dark brown to black spots on both leaf surfaces without yellow halos. Nutrient deficiencies also affect plant health. Sulfur deficiency causes yellowing in younger leaves, while nitrogen deficiency starts in older leaves and spreads upward. Iron deficiency leads to pale or whitish young leaves due to reduced chlorophyll. Groundnut rust, caused by Puccinia arachidis, is a major disease that reduces yield and oil quality. It spreads quickly in warm, humid conditions through wind and water-borne spores and requires moisture for infection (Kankam et al., 2022).
 
Dataset preparation
 
The images were loaded using TensorFlow’s image_ dataset_from_directory function, with a predefined directory path. The dataset was structured into subdirectories, each corresponding to a specific class of leaf conditions. To ensure randomization while preserving repeatability, the photos were scaled to 224 by 224 pixels, with a batch size of 32, then shuffled using a fixed seed (123).
 
Dataset partitioning
 
The dataset was partitioned into training (80%), validation (10%) and testing (10%) sets using a TensorFlow-based partitioning function. The partitioning was performed using the take() and skip() functions to ensure non-overlapping subsets. The class names were extracted and printed for verification.
 
Data preprocessing and augmentation
 
Data preprocessing was applied, including resizing and rescaling pixel values to the range [0,1] using TensorFlow’s Rescaling layer. Data augmentation: random flipping (horizontal and vertical), rotation (0.2 radians), zooming (0.2) and contrast adjustments (0.2) were employed to improve model robustness. The training dataset was cached, shuffled (buffer size of 1000) and pre-fetched to optimize data loading performance.
 
AlexNet model architecture
 
The AlexNet model architecture implemented for image classification tasks. It begins with an input layer that takes in 224 × 224 × 3 pictures, which correspond to the three RGB color channels (Fig 2). Five convolutional layers make up the architecture, which uses the input images to extract spatial characteristics. ReLU activation and batch normalization come after the first convolutional layer, which applies 96 11x11 filters with a stride of 4. The third, fourth and fifth convolutional layers utilize 384, 384 and 256 filters of size 3×3, respectively, after batch normalization and ReLU activation. The second convolutional layer uses 256 filters of size 5×5. Following the first, second and fifth convolutional layers, MaxPooling layers with a 2×2 kernel size were used to downsample feature maps, lowering computational cost and spatial dimensions.

Fig 2: Model architecture.


       
Following feature extraction, the retrieved feature maps are flattened into a one-dimensional vector as the model moves to fully connected layers. There are 2048 neurons in the first fully linked layer and 1024 neurons in the second fully connected layer. To lessen overfitting, both layers use ReLU activation and dropout at a rate of 0.5. The final classification layer uses the softmax activation function to produce class probabilities and has five neurons, which correspond to the number of classes in the dataset. The model is useful for classification tasks because of its architecture, which allows it to learn hierarchical representations of leaf pictures.
 
Model compilation and training
 
The Adam optimizer was used to construct the model with a sparse categorical cross-entropy loss function and a learning rate of 0.00005. The training dataset was used for 50 epochs of training and the validation dataset was monitored for performance assessment. To maintain the optimal model depending on validation accuracy, model weights were preserved using the ModelCheckpoint callback.
 
Evaluation parameters
 
A number of evaluation measures were taken into consideration in order to thoroughly assess the model’s performance (equations 1 through 5). Accuracy, which calculates the percentage of correctly categorized samples among all predictions, was the main metric. Furthermore, each class’s precision, recall and F1-score were calculated to evaluate the model’s accuracy in distinguishing between photos of healthy and diseased leaves. Recall (sensitivity) quantifies the percentage of accurately detected positive occurrences among all actual positive instances, whereas precision (sometimes called positive predictive value) shows the percentage of true positive forecasts among all positive predictions.
       
A reasonable evaluation of the model’s classification performance is ensured by the F1-score, which offers a harmonic mean of precision and recall. To see misclassifications and learn more about the model’s advantages and disadvantages in categorizing various leaf situations, the confusion matrix was utilized. Additionally, the model’s capacity to distinguish between several classes was assessed using the receiver operating characteristic (ROC) curve and the area under the curve (AUC). When taken as a whole, these evaluation metrics provide a reliable assessment of how well the model identified and categorized the leaf conditions of groundnut plants.

The accuracy, loss, validation accuracy and validation loss of the Alexnet model were reported during the course of 150 epochs of training (Fig 3). The results show that the model’s performance has been steadily improving, with notable increases in both training and validation accuracy. The model began at Epoch 1 with a high loss of 1.4608 and a low accuracy of 30.03%. With a validation loss of 1.1776, the validation accuracy was 47.57%. This suggested that the model needed additional training because it was still in its early learning stage. Performance considerably enhanced by Epoch 50. The loss decreased to 0.3643 and the training accuracy attained 84.64%. While the validation loss decreased to 0.3353, the validation accuracy rose to 85.07%. The model was learning in an efficient manner.

Fig 3: Accuracy and loss measurements over epochs.


       
At Epoch 100, the training accuracy rose to 92.45%, with a lower loss of 0.1850. The validation accuracy improved to 94.79% and the validation loss dropped further to 0.1654. This showed that the model was achieving a strong classification ability. By Epoch 150, the training accuracy peaked at 96.26% and the loss reached 0.1038. The validation accuracy was 96.18%, with a slight increase in validation loss to 0.1773. This indicated that the model was well-trained and highly accurate.
       
The training trends showed steady improvement. The loss decreased while accuracy increased, demonstrating efficient learning. The small gap between training and validation accuracy suggested minimal overfitting. Although validation loss slightly increased towards the final epochs, the validation accuracy remained high. This suggested that the model maintained strong generalization ability. The overall improvement in accuracy proved that the model successfully learned complex features and was reliable for real-world applications.
       
The confusion matrix provides insights into the model’s classification performance for different leaf conditions (Fig 4). It shows the number of correctly and incorrectly classified instances for each class. The diagonal values represent correctly classified samples, while off-diagonal values indicate misclassifications. For early leaf spot, the model correctly classified 94 samples, with 8 misclassified as healthy leaf. No samples were confused with late leaf spot, nutrition deficiency, or rust. This indicates strong classification performance, with minor confusion related to healthy leaves. For healthy leaf, 107 samples were correctly classified, but 11 were misclassified as early leaf spot and 1 as nutrition deficiency. The model showed slight difficulty in distinguishing between healthy leaves and diseased ones, leading to a few misclassifications.

Fig 4: Confusion matrix.


       
For late leaf spot, the model correctly classified 76 samples, with only 1 misclassified as nutrition deficiency. The model demonstrated strong performance in recognizing late leaf spot, with minimal classification errors. Regarding nutrition deficiency, 34 samples were correctly classified, with 1 misclassified as rust. The minor misclassification suggests slight similarities in visual features between these two conditions. For rust, the model achieved perfect classification, correctly identifying all 19 samples with no misclassifications. This indicates the model’s high reliability in detecting rust-affected leaves. Overall, the confusion matrix shows strong classification performance, with high accuracy across all classes. Most misclassifications occurred between early leaf spot and healthy leaf, highlighting a potential area for further improvement. Despite these minor errors, the model demonstrated excellent generalization in recognizing different leaf conditions.
       
The classification report provides a detailed evaluation of the model’s performance across different leaf conditions (Table 1). For early leaf spot, the model achieved a precision of 0.8952, meaning that 89.52% of the predicted cases were correct. The recall was 0.9216, showing that the model correctly identified 92.16% of actual early leaf spot cases. The F1-score, which balances precision and recall, was 0.9082, indicating strong classification performance. For healthy leaf, the precision was 0.9304 and the recall was 0.8992. This means that while most predicted healthy leaves were accurate, some were misclassified. The F1-score of 0.9145 suggests good overall classification but with minor misclassifications compared to early leaf spot.

Table 1: Classification matrices.



For late leaf spot, the model performed exceptionally well, with a perfect precision of 1.000 and a recall of 0.987. This indicates that all predicted late leaf spot cases were correct, with only a small number of actual cases missed. The high F1-score of 0.9935 confirms strong classification ability for this condition. For nutrition deficiency, both precision and recall were 0.9714, resulting in the same F1-score. This suggests that the model identified and predicted this class with a high degree of accuracy. For rust, the precision was 0.9048, meaning that 90.48% of predicted rust cases were correct. The recall was 1.000, showing that all actual rust cases were detected. The F1-score of 0.9500 indicates that the model performed well in recognizing rust but had a few misclassifications.
       
The overall accuracy of the model was 93.75%, demonstrating its strong ability to classify different leaf conditions correctly. The macro average F1-score was 0.9475, reflecting balanced performance across all classes. The weighted average F1-score was 0.9375, confirming the model’s robustness, considering the number of samples in each class. These results indicate that the model performs well across all classes, with particularly strong accuracy for late leaf spot and nutrition deficiency. However, slight misclassifications between early leaf spot and healthy leaf suggest room for further refinement in feature differentiation.
       
The multi-class ROC curve illustrates the classification performance of the model across different leaf conditions (Fig 5). The true positive rate (TPR) is plotted against the false positive rate (FPR) to evaluate the model performance. The area under the curve (AUC) provides a measure of classification effectiveness, with higher values indicating better performance. For early leaf spot, the AUC was 0.8115, showing moderate classification performance. The curve suggests some false positives, indicating that the model has difficulty in distinguishing early leaf spots from other conditions. The healthy leaf class has an AUC of 0.8968, indicating good classification ability. However, some misclassifications still occur, as reflected by the curve’s shape. The late leaf spot class achieves an AUC of 0.9464, demonstrating strong performance. The steepness of the curve suggests that the model effectively distinguishes late leaf spot from other classes with minimal false positives. For nutrition deficiency, the AUC is 0.9547, showing high classification accuracy. The curve indicates that the model can reliably identify nutrition deficiency cases with minimal errors. The rust class achieves the highest AUC of 0.9680, indicating excellent classification performance. The curve is nearly optimal, suggesting that the model identifies rust cases with high accuracy and minimal misclassification. Overall, the ROC curves and AUC values indicate strong classification performance, with rust and nutrition deficiency being the most accurately classified. The early leaf spot class has the lowest AUC, indicating that the model struggles slightly in differentiating it. Future improvements in feature extraction and dataset expansion could enhance classification accuracy, especially for early leaf spot.

Fig 5: ROC(AUC) plot.


       
The classification performance of the model is demonstrated through leaf images, where the model’s predictions are compared against actual labels (Fig 6). Each image represents a different condition and the corresponding confidence scores indicate the model’s certainty in its predictions. In the first row, the model misclassified healthy leaves as early leaf spot with confidence scores of 94.19% and 86.76%, indicating a challenge in distinguishing between healthy and diseased leaves. The third image correctly identified early leaf spot with 97.55% confidence, showing strong classification ability for this disease.

Fig 6: Prediction and actual labels with confidence score.


       
In the second row, the model achieved 100% confidence in identifying late leaf spot and 99.49% confidence in identifying nutrition deficiency, suggesting high reliability in detecting these conditions. However, in the last image of this row, the model identified nutrition deficiency with only 50.6% confidence, indicating uncertainty in differentiating mild cases of nutrient deficiency from other conditions. The third row contains both correct and incorrect predictions. One case of early leaf spot was misclassified as a healthy leaf despite a 99.95% confidence score, indicating a potential overfitting issue. The next image correctly identified early leaf spot with 99.75% confidence, demonstrating the model’s ability to recognize distinct symptoms of the disease. The last image in this row shows late leaf spot correctly identified with 100% confidence, reinforcing the model’s accuracy for this class.
       
Overall, the model exhibits high accuracy for most conditions, particularly for late leaf spot and early leaf spot, with confidence levels above 99% in most cases. However, the misclassification of healthy leaves and uncertain predictions in mild nutrition deficiency cases highlight areas for improvement. Future enhancements could include increasing dataset diversity, refining feature extraction techniques and employing ensemble learning approaches to improve classification robustness and generalization.
       
Table 2 presents a comparison of the proposed work with existing studies. Bama and Priyadharsini (2022) reported high accuracy, with SVM achieving 99.84%; however, their dataset included PlantVillage images, which may lack real-world variability. Rakholia et al., (2022) used a CNN with progressive resizing and achieved 96.12% accuracy on a dataset from Gujarat. Maheswaran et al., (2022) also applied CNN-based methods and reported 96.50% accuracy using real farm data. Abhilasha et al., (2023) utilized ResNet50 and achieved a lower accuracy of 82.30% on real-time field data. More recently, Paramanandham et al., (2024) proposed the LeafNet architecture and achieved 97.23% accuracy. In comparison, the proposed Alexnet model achieved 97.83% accuracy, demonstrating good performance.

Table 2: Comparison of existing groundnut leaf disease detection models with the proposed model.

This study presented an AlexNet-based deep learning model for classifying groundnut leaf diseases. Trained on a dataset with five leaf conditions, the model achieved high accuracy, demonstrating its effectiveness in disease detection. Preprocessing and data augmentation improved robustness and generalization. The method provides an automated solution to assist farmers in managing crop health. However, limitations exist. The dataset is sourced from Mendeley, which may not fully represent all groundnut-growing regions. The model relies only on image data without considering environmental factors. It also focuses solely on AlexNet, while other architectures might perform better. Additionally, the dataset size is relatively small, affecting generalization. Future work will expand the dataset, integrate multi-modal data and explore advanced architectures like EfficientNet and Vision Transformers. A real-time mobile application will be developed for farmers and explainable AI techniques will enhance model transparency and usability.
Disclaimers
 
The views and conclusions expressed in this article are solely those of the authors and do not necessarily represent the views of their affiliated institutions. The authors are responsible for the accuracy and completeness of the information provided but do not accept any liability for any direct or indirect losses resulting from the use of this content.
 
Authors’ contributions
 
All authors contributed toward data analysis, drafting and revising the paper and agreed to be responsible for all the aspects of this work.
 
Funding details
 
This research received no external funding.
 
Data availability
 
The data analysed/generated in the present study will be made available from corresponding authors upon reasonable request.
 
Availability of data and materials
 
Not applicable.
 
Use of artificial intelligence
 
Not applicable.
 
Declarations
 
Authors declare that all works are original and this manuscript has not been published in any other journal.
The authors declare that they have no conflict of interest.

  1. Abhilasha, A., Vyas, V. and Chaplot, N. (2023). Disease identification of groundnut leaves by deep learning technology. Neuro Quantology. 21(5): 891-892. https://doi.org/10.48047/ nq.2023.21.5.NQ222082.

  2. Aishwarya, M.P. and Reddy, P. (2023). Ensemble of CNN models for classification of groundnut plant leaf disease detection. Smart Agricultural Technology. 6: 100362. https://doi.org/ 10.1016/j.atech.2023.100362.

  3. Bama, K.A. and Priyadharsini, S.S. (2022). Groundnut Leaves and Their Disease, Deficiency and Toxicity Classification using a Machine Learning Approach. In Elsevier eBooks (pp. 253-275). https://doi.org/10.1016/b978-0-12-824410- 4.00003-9.

  4. Cho, O. (2024). Machine learning Algorithms for early detection of legume crop disease. Legume Research. 47(3): 463-469. doi: 10.18805/LRF-788.

  5. Daba, H.G., Delele, M.A., Fanta, S.W. and Satheesh, N. (2023). The extent of groundnut post-harvest loss in Africa and its implications for food and nutrition security. Journal of Agriculture and Food Research. 14: 100826. doi: 10.1016/ j.jafr.2023.100826.

  6. FAO. (2021). The State of Food Security and Nutrition in the World 2021. Food and Agriculture Organization of the United Nations. https://www.fao.org/publications/fao-flagship- publications/the-state-of-food-security-and-nutrition-in- the-world/2021/en.

  7. Ghewande, M. and Nandagopal, V. (1997). Integrated pest management in groundnut (Arachis hypogaea L.) in India. Integrated Pest Management Reviews. 2: 1-15. https://doi.org/10. 1023/A:1018488326980.

  8. Gu, M., Shen, H., Ling, J., Yu, Z., Luo, W., Wu, F., Gu, F. and Hu, Z. (2025). Current status and development Strategies of the research on Half-Feed Peanut Combine Harvester. Sustainability. 17(4): 1708. https://doi.org/10.3390/su 17041708.

  9. Guo, W., Sun, H., Qiao, H., Zhang, H., Zhou, L., Dong, P. and Song, X. (2023). Spectral detection of peanut southern blight severity based on continuous wavelet transform and machine learning. Agriculture. 13(8): 1504. https://doi. org/10.3390/agriculture13081504.

  10. Hai, N.T. and Duong, N.T. (2024). An improved environmental management model for assuring energy and economic prosperity. Acta Innovations. 52(5): 9-18. https://doi.org/ 10.62441/ActaInnovations.52.2.

  11. Harisudan, C., Veeramani, P., Allwin, L., Sathiya, K., Sivagamy, K., Karunakaran, V. and Jayakumar, J. (2024). Do groundnut as preceding crop reduce fertilizer requirement to the succeeding Blackgram?-Results of field investigation. Legume Research-An International Journal. 47(7): 1136-1143. doi: 10.18805/LR-5297.

  12. Houby, E.M.E. (2018). A survey on applying machine learning techniques for management of diseases. Journal of Applied Biomedicine. 16(3): 165-174. https://doi.org/10.1016/j.jab.2018.01.002.

  13. Kankam, F., Akpatsu, I.B. and Tengey, T.K. (2022). Leaf spot disease of groundnut: A review of existing research on management strategies. Cogent Food and Agriculture. 8(1): 2118650. https://doi.org/10.1080/23311932.2022.2118650.

  14. Kim, S. and AlZubi, A. A. (2024). Blockchain and artificial intelligence for ensuring the authenticity of organic legume products in supply chains. Legume Research-An International Journal. 47(7): 1144-1150. doi: 10.18805/LRF-786.

  15. Kumar  M.,  Taneja  T.,  Choudhary  H.,  Chakraborty  D.,  and  Singh  R. (2025). Millet: An overview on functional and agronomic attributes. Bulletin of Pure and Applied Sciences-Botany. 44B(1): 15-22. https://bpasjournals.com/botany/index. php/journal/article/view/136/128

  16. Larsen, J., Dunne, J., Austin, R., Newman, C. and Kudenov, M. (2025). Automated pipeline for leaf spot severity scoring in peanuts using segmentation neural networks. Plant Methods. 21(1). https://doi.org/10.1186/s13007-024-01316-x.

  17. Lugito, N.P.H., Djuwita, R., Adisasmita, A. and Simadibrata, M. (2022). Blood pressure lowering effect of Lactobacillus-containing probiotic. International Journal of Probiotics and Prebiotics. 17(1): 1-13. https://www.nchpjournals.com/admin/ uploads/ijpp2641-7197v17n1-1-13.pdf.

  18. Maheswaran, S., Indhumathi, N., Dhanalakshmi, S., Nandita, S., Shafiq, I.M. and Rithka, P. (2022). Identification and Classification of Groundnut Leaf Disease using Convolutional Neural Network. In: Computational Intelligence in Data Science. Springer. https://doi.org/10.1007/978-3-031-16364-7_1 9. (pp. 251-270).

  19. Mohammad, A.A.S., Mohammad, S.I., Vasudevan, A. and Heindric, A. (2026). Intelligent decision support system for crop management using data analytics. Journal of Experimental Biology and Agricultural Sciences. 14(3): 9-14. https:// jebas.org/ojs/index.php/jebas/article/view/3796.

  20. Ozçelik, H., Sağlam, B. and Öcal, A.S. (2026). New natural methods for combating mold fungi in agricultural products: The Isparta example. Bulletin of Pure and Applied Sciences- Botany. 45B(2): 1-17. https://bpasjournals.com/botany/ index.php/journal/article/view/174/150.

  21. Paek, J.J., Kim, J., Bae, S., Paek, K. and Lee, Y. (2026). Chive-fortified fermentation enhances gamma-aminobutyric acid production by Levilactobacillus brevis PL9014. International Journal of Probiotics and Prebiotics. 21(1): 1-6. https://doi.org/ 10.37290/ijpp.v21i1.12.

  22. Paramanandham, N., Sundhar, S. and Priya, P. (2024). Enhancing disease detection with weight initialization and residual connections using LeafNet for groundnut leaf diseases. IEEE Access. 12: 91511-91526. https://doi.org/10.1109/ access.2024.3422311.

  23. Rakholia, R.M., Tailor, J.H., Saini, J.R., Kaur, J. and Pahuja, H. (2022). Groundnuts leaf disease recognition using neural network with progressive Resizing. International Journal of Advanced Computer Science and Applications. 13(6). https://doi.org/10.14569/ijacsa.2022.0130611.

  24. Sasmal, B., Das, A., Dhal, K.G., Saheb, S.B., Khurma, R.A. and Castillo, P. A. (2024). A novel groundnut leaf dataset for detection and classification of groundnut leaf diseases. Data in Brief. 55: 110763. https://doi.org/10.1016/j.dib. 2024.110763.

  25. Singh, A.R. and Kaur, A. (2025). AI adoption in agriculture: A managerial framework for sustainable agribusiness development. Journal of Artificial Intelligence in Agriculture and Applied Research. 1(1): 1-12. https://agrpjournals.com/journals/ journal/index.php/jaiaar/article/view/2/2.

  26. Souza, K.F., Gonçalves, L.C.O. and Espindola, F.S. (2026). A broad overview of the multifaceted royal jelly and its applicability in health and performance. Current Topics in Nutraceutical Research. 24(1): 4-14. https://doi.org/10.37290/ctnr.v24 i1.8.

  27. Sriram, P. and Kumari, Y.S. (2026). Game theory in urban birds: A Nash equilibrium analysis using crows and pigeons. Bio- Science Research Bulletin. 42(1): 1-6. https://bpas journals.com/life-sciences/index.php/journal/article/view /150/140.

  28. Syed, F., Arif, S., Ahmed, I. and Khalid, N. (2020). Groundnut (Peanut) (Arachis hypogaea). In: Springer eBooks (pp. 93-122). https://doi.org/10.1007/978-981-15-4194-0_4.

  29. Syraji Y. and Jeyaramraja P.R. (2022). Relationship of altitude, individual seed weight and kernel colonization by Aspergillus flavus with biochemical parameters of various Ethiopian groundnut (Arachis hypogaea L.) accessions. Journal of Experimental Biology and Agricultural Sciences. 10(2): 344-358. https://doi.org/10.18006/2022.10(2).344.358.

  30. Vaishnnave, M.P., Devi, K.S. and Ganeshkumar, P. (2020). Automatic method for classification of groundnut diseases using deep convolutional neural network. Soft Computing. 24(21): 16347-16360. https://doi.org/10.1007/s00500- 020-04946-0.

Deep Learning-based Classification of Groundnut Leaf Diseases using AlexNet for Precision Agriculture

U
Ujwala Vishwajit Gaikwad1,*
V
Vishwajit Balaso Gaikwad1
S
Sonal Ajay Bankar2
D
Deepali Kishor Patil3
D
Debanjana Prasad4
D
Dakshata Argad5
1Department of Computer Engineering, Terna Engineering College, Nerul, Navi Mumbai-400 706, Maharashtra, India.
2Department of Computer Engineering, Lokmanya Tilak College of Engineering, Navi Mumbai-400 709, Maharashtra, India.
3Department of Information Technology, Ramrao Adik Institute of Technology, D Y Patil Deemed to be University Navi Mumbai-400 706, Maharashtra, India.
4Department of Biotechnology, School of Engineering and Technology, Noida International University, Greater Noida-203 201, Uttar Pradesh, India.
5Department of Information Technology, Terna Engineering College, Nerul, Navi Mumbai-400 706, Maharashtra, India.

Background: In order to increase crop productivity and ensure food security, early diagnosis of plant leaf diseases is essential. Crop health and productivity are greatly impacted by groundnut leaf diseases, including rust, early and late leaf spot and nutritional deficits. Conventional disease detection techniques depend on manual inspections, which are time-consuming and prone to errors. Recent advancements in deep learning provide an automated and efficient approach for plant disease classification.

Methods: This work proposes employing the AlexNet architecture to classify groundnut leaf states using deep learning. The dataset, sourced from the Mendeley database, comprises 3,058 images categorized into five classes. Preprocessing techniques, including resizing, rescaling and data augmentation, were applied to improve model outputs. The Adam optimizer was used to train the AlexNet model for 50 epochs with a learning rate of 0.00005. Performance evaluation was conducted using classification metrics and a confusion matrix.

Result: On the test set, the AlexNet model produced a classification accuracy of 97.83%. The model’s ability to differentiate between healthy and diseased groundnut leaves was demonstrated by the precision, recall and F1-score for each class being above 95%.  The confusion matrix showed minimal misclassification errors, further confirming the robustness of the model. The results indicate that the deep learning-based approach can serve as a reliable tool for automated disease detection in groundnut crops, aiding in precision agriculture and timely disease management.

Legumes such as groundnuts were important due to their nutritional, agricultural, economic and environmental benefits. Groundnuts were rich in proteins, healthy fats, vitamins B-complex and E and minerals like magnesium and phosphorus (Syed et al., 2020). They improved soil fertility by fixing atmospheric nitrogen through symbiosis with Rhizobium bacteria. This reduced dependence on synthetic fertilizers and supported sustainable agriculture (Harisudan et al., 2024; Kim and AlZubi, 2024). Groundnut cultivation also provided income to smallholder farmers and supported industries such as oil production, food processing and animal feed. In addition, groundnuts were drought tolerant and suitable for arid and semi-arid regions, which helped ensure food security under climate change (Daba et al., 2023).
       
Groundnut production was concentrated in countries such as India, China, Nigeria, the USA and Sudan (Gu et al., 2025). According to FAOSTAT, groundnuts were cultivated on 327 lakh hectares globally, with a total production of 538 lakh tonnes and productivity of 1648 kg per hectare (FAO, 2021). India had the largest cultivation area (54.2 lakh hectares) and was the second-largest producer, with 101 lakh tonnes in 2021-22 and productivity of 1863 kg per hectare (Aishwarya and Reddy, 2023). Despite this, productivity remained suboptimal due to diseases, pests and climatic factors. Groundnuts required warm temperatures (20-30°C), well-drained sandy loam soil and moderate rainfall (Syed et al., 2020). They were usually harvested within 90-150 days, with yields ranging from 1.5 to 3.5 tons per hectare (Gu et al., 2025; Lugito et al., 2022; Hai and Duong, 2024). However, production was affected by disease outbreaks, pest infestations, abiotic stress and market challenges.  Groundnut productivity and quality can also be influenced by pathogen colonization and associated biochemical characteristics of different Arachis hypogaea accessions. Studies on Aspergillus flavus have highlighted the importance of understanding disease-associated factors in groundnut production (Syraji and Jeyaramraja, 2022; Larsen et al., 2025). Pests like aphids, white grubs and termites further damaged crops. Drought and high temperatures also affected pod formation and oil content (Ghewande and Nandagopal, 1997). Crop productivity is influenced by important agronomic attributes and cultivation conditions, making the understanding of crop performance essential for sustainable agricultural production. Such agronomic considerations are important for improving productivity and supporting food security (Kumar et al., 2025; Cho, 2024). Artificial intelligence is increasingly transforming agricultural practices by improving resource efficiency, crop management, forecasting and decision-making (Mohammad et al., 2026; Ozçelik et al., 2026). However, effective AI adoption also depends on managerial readiness, technological accessibility, organizational support and appropriate institutional policies (Singh and Kaur, 2025). ML and DL methods provided faster and more accurate alternatives (Sasmal et al., 2024; Vaishnnave et al., 2020). These models identified features like leaf spots, blights and fungal infections with high precision. In addition, ML-based mobile applications and UAV imaging enabled real-time monitoring, which supported early intervention and reduced crop loss (Paek et al., 2026; Souza et al., 2026; Sriram and Kumari, 2026).
       
Houby (2018) applied the K-nearest neighbor (K-NN) method for classification based on extracted features, but the accuracy was limited. Guo et al., (2023) used hyperspectral imaging to assess peanut southern blight. This method captured data across many spectral bands and provided detailed information compared to traditional imaging.
 
Research gap
 
Deep learning has improved plant disease identification, but challenges remain. Most studies focus on crops like rice, wheat and tomatoes, while research on groundnut leaf diseases is limited. The effectiveness of AlexNet for groundnut disease classification has not been well explored. In order to overcome these problems, a public dataset is used, thorough preprocessing is applied and AlexNet’s performance is assessed.
 
Objectives
 
This study develops a deep-learning model for groundnut leaf disease classification. It enhances data quality through preprocessing and augmentation. The AlexNet architecture is implemented and evaluated for classification. Performance is measured using classification metrics and a confusion matrix. The study provides an automated detection tool to reduce reliance on manual methods.
Dataset description
 
The dataset for this study was from the Mendeley database. This dataset contains images of five different types of groundnut leaves: rust, nutritional deficit, late leaf spot, healthy and early leaf spot (Aishwarya and Reddy, 2023). The collection contains a total of 3058 images. These images were categorized into five groups: early leaf spot (885), healthy (929), late leaf spot (689), nutritional deficiency (329) and rust (226) leaves. Fig 1 displays a number of images of leaves suffering from various diseases.

Fig 1: Sample images from dataset.


       
Data acquisition was done using a Canon Mark II D camera with an APS-C sensor. The camera specifications include dimensions of 122.4 × 92.6 × 69.8 mm, a horizontal and vertical resolution of 72 dpi, a bit depth of 24, a 3.0-inch monitor, autofocus and a maximum continuous shooting rate of 5 fps. The images were collected during rainy and sunny days. The data annotation was done manually and data acquisition was carried out with the help of a pathologist. The following two groundnut farm fields in Karnataka were used for data collection: 1) Chilwadigi village groundnut farm field in Koppal district (Latitude: 15.39783 and Longitude: 76.161604) and 2) Yelburga Taluk groundnut farm field in Koppal district (Latitude: 15.618803 and Longitude: 76.027645).
       
Early leaf spot appears around 30 days after planting (DAP). It shows as light brown spots with yellow halos on leaves and spreads rapidly during rainy seasons. Late leaf spot, caused by Cercospora personata, occurs 7-8 weeks after planting and appears as small, dark brown to black spots on both leaf surfaces without yellow halos. Nutrient deficiencies also affect plant health. Sulfur deficiency causes yellowing in younger leaves, while nitrogen deficiency starts in older leaves and spreads upward. Iron deficiency leads to pale or whitish young leaves due to reduced chlorophyll. Groundnut rust, caused by Puccinia arachidis, is a major disease that reduces yield and oil quality. It spreads quickly in warm, humid conditions through wind and water-borne spores and requires moisture for infection (Kankam et al., 2022).
 
Dataset preparation
 
The images were loaded using TensorFlow’s image_ dataset_from_directory function, with a predefined directory path. The dataset was structured into subdirectories, each corresponding to a specific class of leaf conditions. To ensure randomization while preserving repeatability, the photos were scaled to 224 by 224 pixels, with a batch size of 32, then shuffled using a fixed seed (123).
 
Dataset partitioning
 
The dataset was partitioned into training (80%), validation (10%) and testing (10%) sets using a TensorFlow-based partitioning function. The partitioning was performed using the take() and skip() functions to ensure non-overlapping subsets. The class names were extracted and printed for verification.
 
Data preprocessing and augmentation
 
Data preprocessing was applied, including resizing and rescaling pixel values to the range [0,1] using TensorFlow’s Rescaling layer. Data augmentation: random flipping (horizontal and vertical), rotation (0.2 radians), zooming (0.2) and contrast adjustments (0.2) were employed to improve model robustness. The training dataset was cached, shuffled (buffer size of 1000) and pre-fetched to optimize data loading performance.
 
AlexNet model architecture
 
The AlexNet model architecture implemented for image classification tasks. It begins with an input layer that takes in 224 × 224 × 3 pictures, which correspond to the three RGB color channels (Fig 2). Five convolutional layers make up the architecture, which uses the input images to extract spatial characteristics. ReLU activation and batch normalization come after the first convolutional layer, which applies 96 11x11 filters with a stride of 4. The third, fourth and fifth convolutional layers utilize 384, 384 and 256 filters of size 3×3, respectively, after batch normalization and ReLU activation. The second convolutional layer uses 256 filters of size 5×5. Following the first, second and fifth convolutional layers, MaxPooling layers with a 2×2 kernel size were used to downsample feature maps, lowering computational cost and spatial dimensions.

Fig 2: Model architecture.


       
Following feature extraction, the retrieved feature maps are flattened into a one-dimensional vector as the model moves to fully connected layers. There are 2048 neurons in the first fully linked layer and 1024 neurons in the second fully connected layer. To lessen overfitting, both layers use ReLU activation and dropout at a rate of 0.5. The final classification layer uses the softmax activation function to produce class probabilities and has five neurons, which correspond to the number of classes in the dataset. The model is useful for classification tasks because of its architecture, which allows it to learn hierarchical representations of leaf pictures.
 
Model compilation and training
 
The Adam optimizer was used to construct the model with a sparse categorical cross-entropy loss function and a learning rate of 0.00005. The training dataset was used for 50 epochs of training and the validation dataset was monitored for performance assessment. To maintain the optimal model depending on validation accuracy, model weights were preserved using the ModelCheckpoint callback.
 
Evaluation parameters
 
A number of evaluation measures were taken into consideration in order to thoroughly assess the model’s performance (equations 1 through 5). Accuracy, which calculates the percentage of correctly categorized samples among all predictions, was the main metric. Furthermore, each class’s precision, recall and F1-score were calculated to evaluate the model’s accuracy in distinguishing between photos of healthy and diseased leaves. Recall (sensitivity) quantifies the percentage of accurately detected positive occurrences among all actual positive instances, whereas precision (sometimes called positive predictive value) shows the percentage of true positive forecasts among all positive predictions.
       
A reasonable evaluation of the model’s classification performance is ensured by the F1-score, which offers a harmonic mean of precision and recall. To see misclassifications and learn more about the model’s advantages and disadvantages in categorizing various leaf situations, the confusion matrix was utilized. Additionally, the model’s capacity to distinguish between several classes was assessed using the receiver operating characteristic (ROC) curve and the area under the curve (AUC). When taken as a whole, these evaluation metrics provide a reliable assessment of how well the model identified and categorized the leaf conditions of groundnut plants.

The accuracy, loss, validation accuracy and validation loss of the Alexnet model were reported during the course of 150 epochs of training (Fig 3). The results show that the model’s performance has been steadily improving, with notable increases in both training and validation accuracy. The model began at Epoch 1 with a high loss of 1.4608 and a low accuracy of 30.03%. With a validation loss of 1.1776, the validation accuracy was 47.57%. This suggested that the model needed additional training because it was still in its early learning stage. Performance considerably enhanced by Epoch 50. The loss decreased to 0.3643 and the training accuracy attained 84.64%. While the validation loss decreased to 0.3353, the validation accuracy rose to 85.07%. The model was learning in an efficient manner.

Fig 3: Accuracy and loss measurements over epochs.


       
At Epoch 100, the training accuracy rose to 92.45%, with a lower loss of 0.1850. The validation accuracy improved to 94.79% and the validation loss dropped further to 0.1654. This showed that the model was achieving a strong classification ability. By Epoch 150, the training accuracy peaked at 96.26% and the loss reached 0.1038. The validation accuracy was 96.18%, with a slight increase in validation loss to 0.1773. This indicated that the model was well-trained and highly accurate.
       
The training trends showed steady improvement. The loss decreased while accuracy increased, demonstrating efficient learning. The small gap between training and validation accuracy suggested minimal overfitting. Although validation loss slightly increased towards the final epochs, the validation accuracy remained high. This suggested that the model maintained strong generalization ability. The overall improvement in accuracy proved that the model successfully learned complex features and was reliable for real-world applications.
       
The confusion matrix provides insights into the model’s classification performance for different leaf conditions (Fig 4). It shows the number of correctly and incorrectly classified instances for each class. The diagonal values represent correctly classified samples, while off-diagonal values indicate misclassifications. For early leaf spot, the model correctly classified 94 samples, with 8 misclassified as healthy leaf. No samples were confused with late leaf spot, nutrition deficiency, or rust. This indicates strong classification performance, with minor confusion related to healthy leaves. For healthy leaf, 107 samples were correctly classified, but 11 were misclassified as early leaf spot and 1 as nutrition deficiency. The model showed slight difficulty in distinguishing between healthy leaves and diseased ones, leading to a few misclassifications.

Fig 4: Confusion matrix.


       
For late leaf spot, the model correctly classified 76 samples, with only 1 misclassified as nutrition deficiency. The model demonstrated strong performance in recognizing late leaf spot, with minimal classification errors. Regarding nutrition deficiency, 34 samples were correctly classified, with 1 misclassified as rust. The minor misclassification suggests slight similarities in visual features between these two conditions. For rust, the model achieved perfect classification, correctly identifying all 19 samples with no misclassifications. This indicates the model’s high reliability in detecting rust-affected leaves. Overall, the confusion matrix shows strong classification performance, with high accuracy across all classes. Most misclassifications occurred between early leaf spot and healthy leaf, highlighting a potential area for further improvement. Despite these minor errors, the model demonstrated excellent generalization in recognizing different leaf conditions.
       
The classification report provides a detailed evaluation of the model’s performance across different leaf conditions (Table 1). For early leaf spot, the model achieved a precision of 0.8952, meaning that 89.52% of the predicted cases were correct. The recall was 0.9216, showing that the model correctly identified 92.16% of actual early leaf spot cases. The F1-score, which balances precision and recall, was 0.9082, indicating strong classification performance. For healthy leaf, the precision was 0.9304 and the recall was 0.8992. This means that while most predicted healthy leaves were accurate, some were misclassified. The F1-score of 0.9145 suggests good overall classification but with minor misclassifications compared to early leaf spot.

Table 1: Classification matrices.



For late leaf spot, the model performed exceptionally well, with a perfect precision of 1.000 and a recall of 0.987. This indicates that all predicted late leaf spot cases were correct, with only a small number of actual cases missed. The high F1-score of 0.9935 confirms strong classification ability for this condition. For nutrition deficiency, both precision and recall were 0.9714, resulting in the same F1-score. This suggests that the model identified and predicted this class with a high degree of accuracy. For rust, the precision was 0.9048, meaning that 90.48% of predicted rust cases were correct. The recall was 1.000, showing that all actual rust cases were detected. The F1-score of 0.9500 indicates that the model performed well in recognizing rust but had a few misclassifications.
       
The overall accuracy of the model was 93.75%, demonstrating its strong ability to classify different leaf conditions correctly. The macro average F1-score was 0.9475, reflecting balanced performance across all classes. The weighted average F1-score was 0.9375, confirming the model’s robustness, considering the number of samples in each class. These results indicate that the model performs well across all classes, with particularly strong accuracy for late leaf spot and nutrition deficiency. However, slight misclassifications between early leaf spot and healthy leaf suggest room for further refinement in feature differentiation.
       
The multi-class ROC curve illustrates the classification performance of the model across different leaf conditions (Fig 5). The true positive rate (TPR) is plotted against the false positive rate (FPR) to evaluate the model performance. The area under the curve (AUC) provides a measure of classification effectiveness, with higher values indicating better performance. For early leaf spot, the AUC was 0.8115, showing moderate classification performance. The curve suggests some false positives, indicating that the model has difficulty in distinguishing early leaf spots from other conditions. The healthy leaf class has an AUC of 0.8968, indicating good classification ability. However, some misclassifications still occur, as reflected by the curve’s shape. The late leaf spot class achieves an AUC of 0.9464, demonstrating strong performance. The steepness of the curve suggests that the model effectively distinguishes late leaf spot from other classes with minimal false positives. For nutrition deficiency, the AUC is 0.9547, showing high classification accuracy. The curve indicates that the model can reliably identify nutrition deficiency cases with minimal errors. The rust class achieves the highest AUC of 0.9680, indicating excellent classification performance. The curve is nearly optimal, suggesting that the model identifies rust cases with high accuracy and minimal misclassification. Overall, the ROC curves and AUC values indicate strong classification performance, with rust and nutrition deficiency being the most accurately classified. The early leaf spot class has the lowest AUC, indicating that the model struggles slightly in differentiating it. Future improvements in feature extraction and dataset expansion could enhance classification accuracy, especially for early leaf spot.

Fig 5: ROC(AUC) plot.


       
The classification performance of the model is demonstrated through leaf images, where the model’s predictions are compared against actual labels (Fig 6). Each image represents a different condition and the corresponding confidence scores indicate the model’s certainty in its predictions. In the first row, the model misclassified healthy leaves as early leaf spot with confidence scores of 94.19% and 86.76%, indicating a challenge in distinguishing between healthy and diseased leaves. The third image correctly identified early leaf spot with 97.55% confidence, showing strong classification ability for this disease.

Fig 6: Prediction and actual labels with confidence score.


       
In the second row, the model achieved 100% confidence in identifying late leaf spot and 99.49% confidence in identifying nutrition deficiency, suggesting high reliability in detecting these conditions. However, in the last image of this row, the model identified nutrition deficiency with only 50.6% confidence, indicating uncertainty in differentiating mild cases of nutrient deficiency from other conditions. The third row contains both correct and incorrect predictions. One case of early leaf spot was misclassified as a healthy leaf despite a 99.95% confidence score, indicating a potential overfitting issue. The next image correctly identified early leaf spot with 99.75% confidence, demonstrating the model’s ability to recognize distinct symptoms of the disease. The last image in this row shows late leaf spot correctly identified with 100% confidence, reinforcing the model’s accuracy for this class.
       
Overall, the model exhibits high accuracy for most conditions, particularly for late leaf spot and early leaf spot, with confidence levels above 99% in most cases. However, the misclassification of healthy leaves and uncertain predictions in mild nutrition deficiency cases highlight areas for improvement. Future enhancements could include increasing dataset diversity, refining feature extraction techniques and employing ensemble learning approaches to improve classification robustness and generalization.
       
Table 2 presents a comparison of the proposed work with existing studies. Bama and Priyadharsini (2022) reported high accuracy, with SVM achieving 99.84%; however, their dataset included PlantVillage images, which may lack real-world variability. Rakholia et al., (2022) used a CNN with progressive resizing and achieved 96.12% accuracy on a dataset from Gujarat. Maheswaran et al., (2022) also applied CNN-based methods and reported 96.50% accuracy using real farm data. Abhilasha et al., (2023) utilized ResNet50 and achieved a lower accuracy of 82.30% on real-time field data. More recently, Paramanandham et al., (2024) proposed the LeafNet architecture and achieved 97.23% accuracy. In comparison, the proposed Alexnet model achieved 97.83% accuracy, demonstrating good performance.

Table 2: Comparison of existing groundnut leaf disease detection models with the proposed model.

This study presented an AlexNet-based deep learning model for classifying groundnut leaf diseases. Trained on a dataset with five leaf conditions, the model achieved high accuracy, demonstrating its effectiveness in disease detection. Preprocessing and data augmentation improved robustness and generalization. The method provides an automated solution to assist farmers in managing crop health. However, limitations exist. The dataset is sourced from Mendeley, which may not fully represent all groundnut-growing regions. The model relies only on image data without considering environmental factors. It also focuses solely on AlexNet, while other architectures might perform better. Additionally, the dataset size is relatively small, affecting generalization. Future work will expand the dataset, integrate multi-modal data and explore advanced architectures like EfficientNet and Vision Transformers. A real-time mobile application will be developed for farmers and explainable AI techniques will enhance model transparency and usability.
Disclaimers
 
The views and conclusions expressed in this article are solely those of the authors and do not necessarily represent the views of their affiliated institutions. The authors are responsible for the accuracy and completeness of the information provided but do not accept any liability for any direct or indirect losses resulting from the use of this content.
 
Authors’ contributions
 
All authors contributed toward data analysis, drafting and revising the paper and agreed to be responsible for all the aspects of this work.
 
Funding details
 
This research received no external funding.
 
Data availability
 
The data analysed/generated in the present study will be made available from corresponding authors upon reasonable request.
 
Availability of data and materials
 
Not applicable.
 
Use of artificial intelligence
 
Not applicable.
 
Declarations
 
Authors declare that all works are original and this manuscript has not been published in any other journal.
The authors declare that they have no conflict of interest.

  1. Abhilasha, A., Vyas, V. and Chaplot, N. (2023). Disease identification of groundnut leaves by deep learning technology. Neuro Quantology. 21(5): 891-892. https://doi.org/10.48047/ nq.2023.21.5.NQ222082.

  2. Aishwarya, M.P. and Reddy, P. (2023). Ensemble of CNN models for classification of groundnut plant leaf disease detection. Smart Agricultural Technology. 6: 100362. https://doi.org/ 10.1016/j.atech.2023.100362.

  3. Bama, K.A. and Priyadharsini, S.S. (2022). Groundnut Leaves and Their Disease, Deficiency and Toxicity Classification using a Machine Learning Approach. In Elsevier eBooks (pp. 253-275). https://doi.org/10.1016/b978-0-12-824410- 4.00003-9.

  4. Cho, O. (2024). Machine learning Algorithms for early detection of legume crop disease. Legume Research. 47(3): 463-469. doi: 10.18805/LRF-788.

  5. Daba, H.G., Delele, M.A., Fanta, S.W. and Satheesh, N. (2023). The extent of groundnut post-harvest loss in Africa and its implications for food and nutrition security. Journal of Agriculture and Food Research. 14: 100826. doi: 10.1016/ j.jafr.2023.100826.

  6. FAO. (2021). The State of Food Security and Nutrition in the World 2021. Food and Agriculture Organization of the United Nations. https://www.fao.org/publications/fao-flagship- publications/the-state-of-food-security-and-nutrition-in- the-world/2021/en.

  7. Ghewande, M. and Nandagopal, V. (1997). Integrated pest management in groundnut (Arachis hypogaea L.) in India. Integrated Pest Management Reviews. 2: 1-15. https://doi.org/10. 1023/A:1018488326980.

  8. Gu, M., Shen, H., Ling, J., Yu, Z., Luo, W., Wu, F., Gu, F. and Hu, Z. (2025). Current status and development Strategies of the research on Half-Feed Peanut Combine Harvester. Sustainability. 17(4): 1708. https://doi.org/10.3390/su 17041708.

  9. Guo, W., Sun, H., Qiao, H., Zhang, H., Zhou, L., Dong, P. and Song, X. (2023). Spectral detection of peanut southern blight severity based on continuous wavelet transform and machine learning. Agriculture. 13(8): 1504. https://doi. org/10.3390/agriculture13081504.

  10. Hai, N.T. and Duong, N.T. (2024). An improved environmental management model for assuring energy and economic prosperity. Acta Innovations. 52(5): 9-18. https://doi.org/ 10.62441/ActaInnovations.52.2.

  11. Harisudan, C., Veeramani, P., Allwin, L., Sathiya, K., Sivagamy, K., Karunakaran, V. and Jayakumar, J. (2024). Do groundnut as preceding crop reduce fertilizer requirement to the succeeding Blackgram?-Results of field investigation. Legume Research-An International Journal. 47(7): 1136-1143. doi: 10.18805/LR-5297.

  12. Houby, E.M.E. (2018). A survey on applying machine learning techniques for management of diseases. Journal of Applied Biomedicine. 16(3): 165-174. https://doi.org/10.1016/j.jab.2018.01.002.

  13. Kankam, F., Akpatsu, I.B. and Tengey, T.K. (2022). Leaf spot disease of groundnut: A review of existing research on management strategies. Cogent Food and Agriculture. 8(1): 2118650. https://doi.org/10.1080/23311932.2022.2118650.

  14. Kim, S. and AlZubi, A. A. (2024). Blockchain and artificial intelligence for ensuring the authenticity of organic legume products in supply chains. Legume Research-An International Journal. 47(7): 1144-1150. doi: 10.18805/LRF-786.

  15. Kumar  M.,  Taneja  T.,  Choudhary  H.,  Chakraborty  D.,  and  Singh  R. (2025). Millet: An overview on functional and agronomic attributes. Bulletin of Pure and Applied Sciences-Botany. 44B(1): 15-22. https://bpasjournals.com/botany/index. php/journal/article/view/136/128

  16. Larsen, J., Dunne, J., Austin, R., Newman, C. and Kudenov, M. (2025). Automated pipeline for leaf spot severity scoring in peanuts using segmentation neural networks. Plant Methods. 21(1). https://doi.org/10.1186/s13007-024-01316-x.

  17. Lugito, N.P.H., Djuwita, R., Adisasmita, A. and Simadibrata, M. (2022). Blood pressure lowering effect of Lactobacillus-containing probiotic. International Journal of Probiotics and Prebiotics. 17(1): 1-13. https://www.nchpjournals.com/admin/ uploads/ijpp2641-7197v17n1-1-13.pdf.

  18. Maheswaran, S., Indhumathi, N., Dhanalakshmi, S., Nandita, S., Shafiq, I.M. and Rithka, P. (2022). Identification and Classification of Groundnut Leaf Disease using Convolutional Neural Network. In: Computational Intelligence in Data Science. Springer. https://doi.org/10.1007/978-3-031-16364-7_1 9. (pp. 251-270).

  19. Mohammad, A.A.S., Mohammad, S.I., Vasudevan, A. and Heindric, A. (2026). Intelligent decision support system for crop management using data analytics. Journal of Experimental Biology and Agricultural Sciences. 14(3): 9-14. https:// jebas.org/ojs/index.php/jebas/article/view/3796.

  20. Ozçelik, H., Sağlam, B. and Öcal, A.S. (2026). New natural methods for combating mold fungi in agricultural products: The Isparta example. Bulletin of Pure and Applied Sciences- Botany. 45B(2): 1-17. https://bpasjournals.com/botany/ index.php/journal/article/view/174/150.

  21. Paek, J.J., Kim, J., Bae, S., Paek, K. and Lee, Y. (2026). Chive-fortified fermentation enhances gamma-aminobutyric acid production by Levilactobacillus brevis PL9014. International Journal of Probiotics and Prebiotics. 21(1): 1-6. https://doi.org/ 10.37290/ijpp.v21i1.12.

  22. Paramanandham, N., Sundhar, S. and Priya, P. (2024). Enhancing disease detection with weight initialization and residual connections using LeafNet for groundnut leaf diseases. IEEE Access. 12: 91511-91526. https://doi.org/10.1109/ access.2024.3422311.

  23. Rakholia, R.M., Tailor, J.H., Saini, J.R., Kaur, J. and Pahuja, H. (2022). Groundnuts leaf disease recognition using neural network with progressive Resizing. International Journal of Advanced Computer Science and Applications. 13(6). https://doi.org/10.14569/ijacsa.2022.0130611.

  24. Sasmal, B., Das, A., Dhal, K.G., Saheb, S.B., Khurma, R.A. and Castillo, P. A. (2024). A novel groundnut leaf dataset for detection and classification of groundnut leaf diseases. Data in Brief. 55: 110763. https://doi.org/10.1016/j.dib. 2024.110763.

  25. Singh, A.R. and Kaur, A. (2025). AI adoption in agriculture: A managerial framework for sustainable agribusiness development. Journal of Artificial Intelligence in Agriculture and Applied Research. 1(1): 1-12. https://agrpjournals.com/journals/ journal/index.php/jaiaar/article/view/2/2.

  26. Souza, K.F., Gonçalves, L.C.O. and Espindola, F.S. (2026). A broad overview of the multifaceted royal jelly and its applicability in health and performance. Current Topics in Nutraceutical Research. 24(1): 4-14. https://doi.org/10.37290/ctnr.v24 i1.8.

  27. Sriram, P. and Kumari, Y.S. (2026). Game theory in urban birds: A Nash equilibrium analysis using crows and pigeons. Bio- Science Research Bulletin. 42(1): 1-6. https://bpas journals.com/life-sciences/index.php/journal/article/view /150/140.

  28. Syed, F., Arif, S., Ahmed, I. and Khalid, N. (2020). Groundnut (Peanut) (Arachis hypogaea). In: Springer eBooks (pp. 93-122). https://doi.org/10.1007/978-981-15-4194-0_4.

  29. Syraji Y. and Jeyaramraja P.R. (2022). Relationship of altitude, individual seed weight and kernel colonization by Aspergillus flavus with biochemical parameters of various Ethiopian groundnut (Arachis hypogaea L.) accessions. Journal of Experimental Biology and Agricultural Sciences. 10(2): 344-358. https://doi.org/10.18006/2022.10(2).344.358.

  30. Vaishnnave, M.P., Devi, K.S. and Ganeshkumar, P. (2020). Automatic method for classification of groundnut diseases using deep convolutional neural network. Soft Computing. 24(21): 16347-16360. https://doi.org/10.1007/s00500- 020-04946-0.
In this Article
Published In
Indian Journal of Agricultural Research

Editorial Board

View all (0)