Crop Disease Detection from Leaf Images Using Convolutional Neural Networks
Keywords:
Plant disease detection, convolutional neural networks, transfer learning, precision agriculture, PlantVillage, MobileNetV2, EfficientNet, Grad-CAM.Abstract
Every year, between 10–40% of the world's crops are lost to plant diseases, and locating an expert diagnostician is often time-consuming for the smallholder farmer. This paper proposes a Convolutional Neural Network (CNN) based disease identification model, using a single picture of the leaves taken by the smartphone camera. Four pretrained architectures, VGG16, ResNet-50, MobileNetV2 and EfficientNet-B0, are fine-tuned on the public PlantVillage dataset (54,305 images, 14 crops, 38 classes) and evaluated for generalization on real field images from PlantDoc. EfficientNet-B0 model, having only 5.3 M parameters, can attain 99.62% test accuracy on the PlantVillage dataset, and in the end, MobileNetV2 can be deployed in 38ms per image in an analysis with a mid-level Android phone. The results are 41.5% on field images, showing a big gap between the lab and field, and mixed domain fine-tuning with background augmentation gets back to 28.3%, achieving 69.8% accuracy on field images. The shape of the leaf and background are not modelled; Grad-CAM visualizations show that the models pay attention to lesion regions. The results show the capability of lightweight CNNs to provide an accurate, explainable, offline diagnosis of disease suitable for deployment in low-connectivity farming zones.
References
[1] S. Savary, L. Willocquet, S. J. Pethybridge, P. Esker, N. McRoberts, and A. Nelson, “The global burden of pathogens and pests on major food crops,” Nature Ecology & Evolution, vol. 3, no. 3, pp. 430–439, 2019.
[2] A. Krizhevsky, I. Sutskever, and G. E. Hinton, “ImageNet classification with deep convolutional neural networks,” in Adv. Neural Inf. Process. Syst. (NeurIPS), 2012, pp. 1097–1105.
[3] D. P. Hughes and M. Salathé, “An open access repository of images on plant health to enable the development of mobile disease diagnostics,” arXiv preprint arXiv:1511.08060, 2015.
[4] S. P. Mohanty, D. P. Hughes, and M. Salathé, “Using deep learning for image-based plant disease detection,” Frontiers in Plant Science, vol. 7, art. 1419, 2016.
[5] K. P. Ferentinos, “Deep learning models for plant disease detection and diagnosis,” Computers and Electronics in Agriculture, vol. 145, pp. 311–318, 2018.
[6] E. C. Too, L. Yujian, S. Njuki, and L. Yingchun, “A comparative study of fine-tuning deep learning models for plant disease identification,” Computers and Electronics in Agriculture, vol. 161, pp. 272–279, 2019.
[7] J. G. A. Barbedo, “Impact of dataset size and variety on the effectiveness of deep learning and transfer learning for plant disease classification,” Computers and Electronics in Agriculture, vol. 153, pp. 46–53, 2018.
[8] D. Singh, N. Jain, P. Jain, P. Kayal, S. Kumawat, and N. Batra, “PlantDoc: A dataset for visual plant disease detection,” in Proc. 7th ACM IKDD CoDS and 25th COMAD, 2020, pp. 249–253.
[9] R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, “Grad-CAM: Visual explanations from deep networks via gradient-based localization,” in Proc. IEEE Int. Conf. Comput. Vis. (ICCV), 2017, pp. 618–626.
[10] K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2015.
[11] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), 2016, pp. 770–778.
[12] M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L.-C. Chen, “MobileNetV2: Inverted residuals and linear bottlenecks,” in Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), 2018, pp. 4510–4520.
[13] M. Tan and Q. V. Le, “EfficientNet: Rethinking model scaling for convolutional neural networks,” in Proc. 36th Int. Conf. Mach. Learn. (ICML), 2019, pp. 6105–6114.
[14] D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” in Proc. Int. Conf. Learn. Represent. (ICLR), 2015.
[15] M. Brahimi, K. Boukhalfa, and A. Moussaoui, “Deep learning for tomato diseases: Classification and symptoms visualization,” Applied Artificial Intelligence, vol. 31, no. 4, pp. 299–315, 2017.
[16] A. Kamilaris and F. X. Prenafeta-Boldú, “Deep learning in agriculture: A survey,” Computers and Electronics in Agriculture, vol. 147, pp. 70–90, 2018.
[17] A. Ramcharan, K. Baranowski, P. McCloskey, B. Ahmed, J. Legg, and D. P. Hughes, “Deep learning for image-based cassava disease detection,” Frontiers in Plant Science, vol. 8, art. 1852, 2017.
Downloads
Published
Data Availability Statement
yes
Issue
Section
License
Copyright (c) 2026 Dr. Syed Khader Bash (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
This journal is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). Authors retain copyright in their published work and permit others to share and adapt the material for any purpose, provided appropriate credit is given to the original author(s) and source, a link to the license is provided, and any changes made are indicated.
