Disease detection in potatoes using deep learning with YOLOv12

  • Manolo Muñoz Espinoza Universidad Técnica de Ambato
  • Walter Eduardo Moreno Castillo Universidad Técnica de Ambato
  • Franck Pío Palacios Ruiz Universidad Técnica de Ambato
Keywords: Potato, diseases, detection, deep learning, YOLO, precision agriculture

Abstract

Potato is an essential food crop, but its production is threatened by diseases such as early and late blight, whose delayed detection leads to significant economic and environmental losses. Early and accurate disease detection in crops is crucial for ensuring food security and agricultural sustainability. In this work, we propose an innovative deep learning–based approach for the automatic identification of diseases in potato leaves (Solanum tuberosum) using the standard YOLOv12 architecture. The model was trained on accessible computational resources (2× NVIDIA T4 GPUs on Kaggle) using an initial dataset of 363 original images (121 per class: early blight, late blight, and healthy leaves), expanded to 920 images through a realistic data augmentation pipeline (including rotation, flipping, shear, noise, and exposure variation). Thanks to early stopping, training converged efficiently within 43 epochs, achieving outstanding performance: precision = 0,9854, mAP50 = 0,9950, and recall = 1,0000. These metrics demonstrate high sensitivity and specificity, even with limited data. In conclusion, the proposed system represents a viable, robust, and scalable solution for integration into precision agriculture applications, enabling timely diagnoses and reducing reliance on manual inspections.

Downloads

Download data is not yet available.

References

[1] L. El Hoummaidi, A. Larabi, and K. Alam, “Using unmanned aerial systems and deep learning for agriculture mapping in Dubai,” Heliyon, vol. 7, no. 10, p. e08154, Oct. 2021, doi: 10.1016/j.heliyon.2021.e08154.
[2] M. E. Calskan, A. Bakhsh, and K. Jabran, Potato production worldwide. Academic Press, 2022.
[3] A. Devaux et al., “Global food security, contributions from sustainable potato agri-food systems,” The Potato Crop: Its Agricultural, Nutritional and Social Contribution to Humankind, pp. 3–35, Jan. 2019, doi: 10.1007/978-3-030-28683-5_1/FIGURES/8.
[4] T. Adekanmbi, X. Wang, S. Basheer, S. Liu, A. Yang, and H. Cheng, “Climate change impacts on global potato yields: a review,” Environmental Research: Climate, vol. 3, no. 1, p. 012001, Dec. 2023, doi: 10.1088/2752-5295/AD0E13.
[5] G. Alizadeh-Moghaddam, M. Nasr-Esfahani, A. Nasr-Esfahani, E. Sedaghatfar, H. Rahanandeh, and M. J. Yazdi, “Comparative genetic defence analysis using microsatellite markers and anatomical resistance of potato cultivars to early blight,” Physiol Mol Plant Pathol, vol. 133, p. 102374, Sep. 2024, doi: 10.1016/J.PMPP.2024.102374.
[6] J. Singh et al., “Transition from conventional to AI-based methods for detection of foliar disease symptoms in vegetable crops: a comprehensive review,” Journal of Plant Pathology, pp. 1–24, Aug. 2025, doi: 10.1007/S42161-025-01983-2/METRICS.
[7] M. Dang et al., “Computer Vision for Plant Disease Recognition: A Comprehensive Review,” Botanical Review, vol. 90, no. 3, pp. 251–311, Sep. 2024, doi: 10.1007/S12229-024-09299-Z/METRICS.
[8] N. Khan and A. Babar, “Innovations in precision agriculture and smart farming: Emerging technologies driving agricultural transformation,” https://doi.org/10.1142/S2737599424300046, vol. 11, Jan. 2025, doi: 10.1142/S2737599424300046.
[9] M. Woźniak and M. F. Ijaz, “Editorial: Recent advances in big data, machine, and deep learning for precision agriculture,” 2024, Frontiers Media SA. doi: 10.3389/fpls.2024.1367538.
[10] R. Sharma, “Artificial intelligence in agriculture: A review,” Proceedings - 5th International Conference on Intelligent Computing and Control Systems, ICICCS 2021, pp. 937–942, May 2021, doi: 10.1109/ICICCS51141.2021.9432187.
[11] Q. Zhou, H. Zhang, and S. Wang, “Artificial intelligence, big data, and blockchain in food safety,” International Journal of Food Engineering, vol. 18, no. 1, pp. 1–14, Jan. 2022, doi: 10.1515/IJFE-2021-0299/MACHINEREADABLECITATION/RIS.
[12] J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You Only Look Once: Unified, Real-Time Object Detection,” Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 779–788, 2016, Accessed: Sep. 24, 2025. [Online]. Available: http://pjreddie.com/yolo/
[13] T. Li, L. Zhang, and J. Lin, “Precision agriculture with YOLO-Leaf: advanced methods for detecting apple leaf diseases,” Front Plant Sci, vol. 15, p. 1452502, Oct. 2024, doi: 10.3389/FPLS.2024.1452502/BIBTEX.
[14] A. Taha and W. Badawy, “Integrating Deep AI with Plant Disease Diagnosis: Toward Early Detection and Sustainable Crop Protection,” Journal of Scientific Research in Science, vol. 42, no. 0, pp. 29–47, Aug. 2025, doi: 10.21608/JSRS.2025.393968.1180.
[15] A. Ali, “PlantVillage Dataset.” Accessed: Sep. 24, 2025. [Online]. Available: https://www.kaggle.com/datasets/abdallahalidev/plantvillage-dataset
[16] “Roboflow: Computer vision tools for developers and enterprises.” Accessed: Jan. 12, 2025. [Online]. Available: https://roboflow.com/
[17] Y. Tian, Q. Ye, and D. Doermann, “YOLOv12: Attention-Centric Real-Time Object Detectors.” Accessed: Sep. 28, 2025. [Online]. Available: https://docs.ultralytics.com/es/models/yolo12
[18] G. Al-Kateb, M. M. Mijwil, M. Aljanabi, M. Abotaleb, S. R. K. Priya, and P. Mishra, “AI-PotatoGuard: Leveraging Generative Models for Early Detection of Potato Diseases,” Potato Res, vol. 68, no. 1, pp. 449–463, Mar. 2025, doi: 10.1007/S11540-024-09751-Y/METRICS.
[19] A. Abbas, U. Maqsood, S. Ur Rehman, K. Mahmood, T. Alsaedi, and M. Kundi, “An Artificial Intelligence Framework for Disease Detection in Potato Plants,” Engineering, Technology & Applied Science Research, vol. 14, no. 1, pp. 12628–12635, Feb. 2024, doi: 10.48084/ETASR.6456.
[20] H. Afzaal et al., “Detection of a Potato Disease (Early Blight) Using Artificial Intelligence,” Remote Sensing 2021, Vol. 13, Page 411, vol. 13, no. 3, p. 411, Jan. 2021, doi: 10.3390/RS13030411.
[21] J. Li, D. Ribeiro, D. Tavares, E. Tiradentes, F. Santos, and D. Rodriguez, “Performance Evaluation of YOLOv11 and YOLOv12 Deep Learning Architectures for Automated Detection and Classification of Immature Macauba (Acrocomia aculeata) Fruits,” Agriculture 2025, Vol. 15, Page 1571, vol. 15, no. 15, p. 1571, Jul. 2025, doi: 10.3390/AGRICULTURE15151571.
Published
2026-01-16
How to Cite
Muñoz Espinoza, M., Moreno Castillo, W. E., & Palacios Ruiz, F. P. (2026). Disease detection in potatoes using deep learning with YOLOv12. Ciencias De La Ingeniería Y Aplicadas, 10(1), 119-129. https://doi.org/10.61236/ciya.v10i1.1239
Section
Research article