Eggplant Leaf Disease Classification Using Deep Learning and a Robust Real-Time System Based on YOLOv8 and Streamlit
DOI:
https://doi.org/10.59461/ijdiic.v5i3.295Keywords:
Eggplant Disease Classification, YOLOv8, Deep Learning, Object Classification, Precision Agriculture, Real-Time ClassificationAbstract
Early disease Classification will help reduce crop loss as well as increase agricultural productivity. A rapid and accurate deep learning-based framework to identify different diseases in eggplant on the marketplace level has been proposed in the research. Implementation and Training of an End-to-End Object Classification Based on YOLOv8. To train a custom multi-class data set, six target classes: Healthy Leaf, White Mold Disease, Leaf Spot Disease, Wilt Disease, Mosaic Virus Disease, and Insect Pest Disease. Initial work was done in developing the object detectors. We used standard metrics like accuracy, precision, recall, and F1-score to evaluate the performance of the model. When it came to finding Plant Leaf Disease (PLD), traceable configurations were revealed from configuration tuning among the combinations of hyperparameters, which converged at equal measurement intervals on a curve between Classification accuracy and computation efficiency from screened candidate architectures along ranges determined by performance metrics defined for detecting plant diseases using only above-ground debris as input sources. With stable convergence during the training phase, the model YOLOv8m had an accuracy of 96.84%, a precision of 96.85%, a recall of 96.84%, and an F1 score of 96.84%. The model that has been trained was deployed with the help of a web application named Streamlit, so that it could be used in practical procedures where disease can be detected if we upload an image. That means the system is robust and operates effectively in the wild as opposed to ideal test conditions, which lends itself well to agricultural usage. The present work provides an integrated, optimized deep learning detector with a user interface beneficial for precision farming that can help in the early identification of diseases on eggplants, resulting in increased yield.
References
[1] S. Howlader, M. S. Ahamed, M. U. Mojumdar, S. R. H. Noori, S. M. T. Siddiquee, and N. R. Chakraborty, “A comprehensive image dataset for the identification of eggplant leaf diseases and computer vision applications,” Data Br, vol. 59, p. 111353, Apr. 2025, doi: 10.1016/j.dib.2025.111353.
[2] I. H. Saad, M. M. Islam, I. K. Himel, and M. J. Mia, “An automated approach for eggplant disease recognition using transfer learning,” Bull Electr Eng Informatics, vol. 11, no. 5, pp. 2789–2798, Oct. 2022, doi: 10.11591/eei.v11i5.3575.
[3] J. Sharma, J. Lande, S. Vij, K. Raina, and N. Sharma, “The Smart Farming: Eggplant Leaf Disease Detection using Fine-Tuned DenseNet201 Deep Learning Model,” in 2026 IEEE International Students’ Conference on Electrical, Electronics and Computer Science (SCEECS), IEEE, Jan. 2026, pp. 1–6. doi: 10.1109/SCEECS68810.2026.11429761.
[4] M. I. Hossain Siddiqui et al., “Eggplant Disease Diagnosis Using a Robust Ensemble of Transfer Learning Architectures,” in 2025 International Conference on Electrical, Computer and Communication Engineering (ECCE), IEEE, Feb. 2025, pp. 1–6. doi: 10.1109/ECCE64574.2025.11013918.
[5] H. Sun, R. Fu, Z. Zhang, H. Sun, Y. Jeong, and J. Lyu, “Research on eggplant pest and disease detection in complex environments based on improved RT-DETR,” BMC Plant Biol, vol. 25, no. 1, p. 1664, Nov. 2025, doi: 10.1186/s12870-025-07518-2.
[6] Z. Xie, C. Li, Z. Yang, Z. Zhang, J. Jiang, and H. Guo, “YOLOv5s-BiPCNeXt, a Lightweight Model for Detecting Disease in Eggplant Leaves,” Plants, vol. 13, no. 16, p. 2303, Aug. 2024, doi: 10.3390/plants13162303.
[7] Y. Huang, H. Zhao, and J. Wang, “YOLOv8-E: An Improved YOLOv8 Algorithm for Eggplant Disease Detection,” Appl Sci, vol. 14, no. 18, p. 8403, Sep. 2024, doi: 10.3390/app14188403.
[8] X. Wang et al., “A Multimodal Data Fusion and Embedding Attention Mechanism-Based Method for Eggplant Disease Detection,” Plants, vol. 14, no. 5, p. 786, Mar. 2025, doi: 10.3390/plants14050786.
[9] Y. Zhang et al., “Early detection of verticillium wilt in eggplant leaves by fusing five image channels: a deep learning approach,” Plant Methods, vol. 20, no. 1, p. 173, Nov. 2024, doi: 10.1186/s13007-024-01291-3.
[10] F. Cheng et al., “Verticillium wilt resistance screening and early disease detection in eggplant using leaf injection inoculation and chlorophyll fluorescence,” Sci Hortic (Amsterdam), vol. 349, p. 114257, Jul. 2025, doi: 10.1016/j.scienta.2025.114257.
[11] A. Krishnaswamy Rangarajan and R. Purushothaman, “Disease Classification in Eggplant Using Pre-trained VGG16 and MSVM,” Sci Rep, vol. 10, no. 1, p. 2322, Feb. 2020, doi: 10.1038/s41598-020-59108-x.
[12] E. Ergün and H. Okumus, “Robust eggplant disease recognition using a learnable weighted deep ensemble with test-time augmentation,” Inf Process Agric, Mar. 2026, doi: 10.1016/j.inpa.2026.03.010.
[13] M. R. Haque and F. Sohel, “Deep Network with Score Level Fusion and Inference-Based Transfer Learning to Recognize Leaf Blight and Fruit Rot Diseases of Eggplant,” Agriculture, vol. 12, no. 8, p. 1160, Aug. 2022, doi: 10.3390/agriculture12081160.
[14] R. Gayathri and K. Umadevi, “Early Identification of Eggplant Diseases using Cutting-Edge Deep Learning Models,” in 2025 3rd International Conference on Data Science and Information System (ICDSIS), IEEE, May 2025, pp. 1–7. doi: 10.1109/ICDSIS65355.2025.11070910.
[15] M. Karthikeyan et al., “Comprehensive analysis of little leaf disease incidence and resistance in eggplant,” BMC Plant Biol, vol. 24, no. 1, p. 576, Jun. 2024, doi: 10.1186/s12870-024-05257-4.
[16] J. Liu and X. Wang, “EggplantDet: An efficient lightweight model for eggplant disease detection,” Alexandria Eng J, vol. 115, pp. 308–323, Mar. 2025, doi: 10.1016/j.aej.2024.12.037.
[17] Q. Yao, C. Zhang, Y. Feng, and X. Wang, “YOLOv8n-EggplantDiseases: an enhanced model for accurate disease detection in eggplants,” Evol Syst, vol. 16, no. 3, p. 88, Sep. 2025, doi: 10.1007/s12530-025-09717-6.
[18] H. Song, Y. Zeng, T. Wen, X. Li, and Y. Liu, “EggYOLOPlant: optimized YOLOv8 for real-time eggplant seedling center detection,” J Real-Time Image Process, vol. 22, no. 2, p. 100, Apr. 2025, doi: 10.1007/s11554-025-01676-0.
[19] M. A. S. Nirob et al., “A comprehensive annotated image dataset for deep learning analysis of eggplant leaf diseases,” Data Br, vol. 63, p. 112140, Dec. 2025, doi: 10.1016/j.dib.2025.112140.
[20] D. Zhang et al., “Multispectral and Chlorophyll Fluorescence Imaging Fusion Using 2D-CNN and Transfer Learning for Cross-Cultivar Early Detection of Verticillium Wilt in Eggplants,” Agronomy, vol. 15, no. 8, p. 1799, Jul. 2025, doi: 10.3390/agronomy15081799.
[21] A. Kaniyassery et al., “Association of meteorological variables with leaf spot and fruit rot disease incidence in eggplant and YOLOv8-based disease classification,” Ecol Inform, vol. 83, p. 102809, Nov. 2024, doi: 10.1016/j.ecoinf.2024.102809.
[22] S. Abisha, A. M. Mutawa, M. Murugappan, and S. Krishnan, “Brinjal leaf diseases detection based on discrete Shearlet transform and Deep Convolutional Neural Network,” PLoS One, vol. 18, no. 4, p. e0284021, Apr. 2023, doi: 10.1371/journal.pone.0284021.
[23] S. Abisha and T. Jayasree, “Application of Image Processing Techniques and Artificial Neural Network for Detection of Diseases on Brinjal Leaf,” IETE J Res, vol. 68, no. 3, pp. 2246–2258, May 2022, doi: 10.1080/03772063.2019.1696716.
[24] A. Anu Priya and K. Rajaram, “Brinjal Leaf Diseases Detection Based on Deep Convolutional Neural Network,” in 2025 4th International Conference on Sentiment Analysis and Deep Learning (ICSADL), IEEE, Feb. 2025, pp. 1478–1483. doi: 10.1109/ICSADL65848.2025.10932993.
[25] Kajal, M. K. Dubey, D. K. Pandey, and K. Ahmed, “Artificial Intelligence Enabled Brinjal (Solanum Melongena) Leaf Diseases Detection and Classification: A Review,” in 2025 International Conference on Cognitive Computing in Engineering, Communications, Sciences and Biomedical Health Informatics (IC3ECSBHI), IEEE, Jan. 2025, pp. 468–473. doi: 10.1109/IC3ECSBHI63591.2025.10990724.
Published
Issue
Section
License
Copyright (c) 2026 Sujatha Krishna, Osamah Ibrahim Khalaf

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.