Deep Learning-Based Automated Detection of Tomato Leaf Diseases Using CNNs

Abstract

With the global prevalence of tomato diseases causing 20 to 40% annual crop losses and over USD 220 billion in economic damage, traditional manual scouting and laboratory diagnostics prove labor intensive, subjective, delayed, and impractical for resource constrained rural farmers. To address this challenge, this study proposes a lightweight 17 layer convolutional neural network (CNN) model enhanced by comprehensive data augmentation, effectively classifying nine prevalent tomato leaf diseases Bacterial Spot, Early Blight, Late Blight, Leaf Mold, Septoria Leaf Spot, Spider Mites, Target Spot, Yellow Leaf Curl Virus, and Mosaic Virus using the PlantVillage dataset of 16,012 images. The experiment utilized 80/20 train test splits with Adam optimizer (learning rate 0.001), categorical cross entropy loss, 50 epochs, and batch size 32. The proposed CNN was compared with pretrained InceptionV3 and ResNet152V2 baselines. Experimental results demonstrate the model achieves state of the art performance with 95.28% test accuracy, 97.80% training accuracy, 0.970 macro F1 score, 0.932 micro MCC, and 0.983 micro average AUC, outperforming InceptionV3 (81.54%) and ResNet152V2 (85.89%) by 13.74% and 9.39% respectively, while surpassing tomato specific SOTA VGG 19 (93%). Ablation experiments confirm augmentation yields 16.68% accuracy improvement over non augmented baselines. The model powers a React Native Android app with TensorFlow Lite INT8 quantization (7.1 MB), delivering sub 200 ms inference for online cloud analysis via FastAPI and offline edge computing, providing farmers real time diagnostics with robust generalization across diverse field conditions and significant practical value for precision agriculture and food security.

References

Szyniszewska, A. (2024). Measuring and understanding the global burden of crop loss: data requirements and opportunities on yields, pest presence, and economic burden of the hazards. Agricultural Development and Climate Change Unit’s II Experts Meeting on Agricultural Statistics. Retrieved from https://www.cepal.org/sites/default/files/events/files/aszyniszewska_english_session_1.pdf (Accessed: March 10, 2025).

Junaid, M. D., & Gokce, A. F. (2024). Global agricultural losses and their causes. Bulletin of Biological and Allied Sciences Research, 2024(1), 66-66. http://dx.doi.org/10.54112/bbasr.v2024i1.66

Liao, J. (2025). AI-driven banana pest and disease management: methods, applications, challenges, and future directions. Discover Internet of Things, 5(1). https://doi.org/10.1007/s43926-025-00175-9

Jafar, A., Bibi, N., et al. (2024). Revolutionizing agriculture with artificial intelligence: plant disease detection methods, applications, and their limitations. Frontiers in Plant Science, 15. https://doi.org/10.3389/fpls.2024.1356260

Masarirambi, M.T., Mhazo, N., Oseni, T.O., & Shongwe, V.D. (2009). Common physiological disorders of tomato (Lycopersicon esculentum) fruit found in Swaziland. Journal of agriculture & social sciences, 5, 123-127. Retrieved from http://www.fspublishers.org/published_papers/3682_..pdf

Laizer, H. C. (2025). Understanding farmer knowledge, practices and decision-making in pest and disease management: the case of Irish potato (Solanum tuberosum) cultivation in Mbeya, Tanzania. Discover Agriculture, 3(1). https://doi.org/10.1007/s44279-025-00440-z

Ristaino, J.B., Anderson, P.K., et al. (2021). The persistent threat of emerging plant disease pandemics to global food security. Proc. Natl. Acad. Sci. U.S.A, 118(23), https://doi.org/10.1073/pnas.2022239118

John, M., Bankole, I., et al. (2023) Relevance of Advanced Plant Disease Detection Techniques in Disease and Pest Management for Ensuring Food Security and Their Implication: A Review. American Journal of Plant Sciences, 14, 1260-1295. https://doi.org/10.4236/ajps.2023.1411086

Tugrul, B., Elfatimi, E., Eryigit, R. (2022). Convolutional neural networks in detection of plant leaf diseases: A review. Agriculture, 12(8), 1192. https://doi.org/10.3390/agriculture12081192

Ferentinos, K.P. (2018). Deep learning models for plant disease detection and diagnosis. Computers and Electronics in Agriculture, 145, 311–318. http://dx.doi.org/10.1016/j.compag.2018.01.009

Wang, Q., Liu, T., Zang, M. (2024). Research on intelligent agricultural pest and disease detection model based on transfer learning. International Journal of Science and Engineering Applications, 13(11), 55–58. https://doi.org/10.7753/IJSEA1311.1011

Jiang, P., Chen, Y., Liu, B., He, D., & Liang, C. (2019). Real-time detection of apple leaf diseases using deep learning approach based on improved convolutional neural networks. IEEE Access, 7, 59069–59080. https://doi.org/10.1109/ACCESS.2019.2914929

Kukreja, V., Baliyan, A., Salonki, V., & Kaushal, R.K. (2021). Potato Blight: Deep Learning Model for Binary and Multi-Classification. In: 2021 8th International Conference on Signal Processing and Integrated Networks (SPIN), Noida, India, pp. 967-672. https://doi.org/10.1109/SPIN52536.2021.9566079

Mallick, M.T., Biswas, S., Das, A.K. et al. (2023). Deep learning based automated disease detection and pest classification in Indian mung bean. Multimedia Tools and Applications, 82, 12017–12041. https://doi.org/10.1007/s11042-022-13673-7

Thai-Nghe, N., Dong, T.K., Tri, H.X., & Chi-Ngon, N. (2023). Deep Learning Approach for Tomato Leaf Disease Detection. In: Dang, T.K., Küng, J., Chung, T.M. (eds) Future Data and Security Engineering. Big Data, Security and Privacy, Smart City and Industry 4.0 Applications. FDSE 2023. Communications in Computer and Information Science, vol 1925. Springer, Singapore. https://doi.org/10.1007/978-981-99-8296-7_42

Albahar, M. (2023). A Survey on Deep Learning and Its Impact on Agriculture: Challenges and Opportunities. Agriculture, 13(3), 540. https://doi.org/10.3390/agriculture13030540

Siddiqua, A., Kabir, M. A., Ferdous, T., Ali, I. B., & Weston, L. A. (2022). Evaluating Plant Disease Detection Mobile Applications: Quality and Limitations. Agronomy, 12(8), 1869. https://doi.org/10.3390/agronomy12081869

Srihith, I.V.D. (2024). A short review on deep learning in agriculture. Journal of Advanced Research in Artificial Intelligence & It's Applications, 1(3). https://doi.org/10.5281/zenodo.11612440

Hawkins, D. M. (2004). The Problem of Overfitting. ChemInform, 35(19). https://doi.org/10.1002/CHIN.200419274

Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., & Wojna, Z. (2016). Rethinking the inception architecture for computer vision. In: 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 2818–2826. https://doi.org/10.1109/CVPR.2016.308

Authors

  • Daniel Musafiri Balungu Ural federal university named after the first President of Russia B.N. Yeltsin
  • Maksim Aleksandrovich Malykh Ural federal university named after the first President of Russia B.N. Yeltsin
  • Dmitry Evgenievich Burdin Ural federal university named after the first President of Russia B.N. Yeltsin
  • Nikita Sergeevich Predein Ural federal university named after the first President of Russia B.N. Yeltsin

DOI:

https://doi.org/10.31449/inf.v50i2.9676

Downloads

Published

08/04/2026

Issue

Section

Regular papers

How to Cite

Balungu, D. M., Malykh, M. A., Burdin, D. E., & Predein, N. S. (2026). Deep Learning-Based Automated Detection of Tomato Leaf Diseases Using CNNs. Informatica, 50(2). https://doi.org/10.31449/inf.v50i2.9676