Mango Leaf Detection: Comparison of YOLOv12n and YOLOv26n for Mangifera indica Disease

Authors

  • Hari Atmojo Setiyo Universitas Negeri Surabaya
  • Lilik Anifah Universitas Negeri Surabaya

DOI:

https://doi.org/10.32492/nucleus.v5i1.5103

Keywords:

Mango Leaf Disease, Object Detection, YOLOv12, YOLOv26

Abstract

This study addresses the inaccurate detection of mango (Mangifera indica) leaf diseases, which can reduce plant productivity. A deep-learning-based automatic detection system is proposed to identify five leaf diseases (Mangifera indica): anthracnose, cutting weevil, dieback, powdery mildew, and sooty mold. This study compares two object detection models, namely YOLOv12n and YOLOv26n, with a dataset of 1,970 images. The data is annotated and divided into training, validation, and testing with weights of 70%, 20%, and 10%, respectively. Both YOLO models were trained for 100 epochs and evaluated using accuracy, precision, recall, and F1 score. The results of this study indicate that YOLOv26n performs better during testing, with an average accuracy of 97,06%, a recall of 98,76%, a precision of 98,25%, and an F1 score of 98,50%. In comparison, YOLOv12n achieved 94,52% accuracy, 98,92% recall, 95,47% precision, and 97,16% F1 score. Although YOLOv12n had slightly better training loss, YOLOv26n delivered more consistent performance, particularly in mean average precision (mAP) at higher thresholds. Therefore, YOLOv26n is better at identifying mango leaf diseases and has greater potential for real-time agricultural applications.

References

E. T. Oviana, R. Alpaizon, D. P. Khalifah, and P. Dwirotama, “Sistem Deteksi Hama dan Penyakit Tanaman Mangga ( Mangifera indica L .) Berbasis Deep Learning Menggunakan Model Pra Latih YOLOv5,” vol. 35, no. 1, pp. 151–163, 2024.

T. R. Siagian et al., “Klasifikasi penyakit dan hama pada daun mangga menggunakan metode convolutional neural network,” vol. 9, no. 6, pp. 10370–10376, 2025.

M. Iqbal et al., “Automated Identification of Mango Leaf Diseases Using Deep Convolutional Neural Networks,” vol. XX, no. X, pp. 1–14, 2026, doi: 10.15244/pjoes/215218.

D. E. Arissandi, “Sistem Monitoring Gambar Daun Mangga Untuk Deteksi Awal Penyakit,” no. I, 2025.

K. U. Shetty, R. Javed Kutty, K. Donthi, A. Patil, and N. Subramanyam, “Plant Disease Detection for Guava and Mango using YOLO and Faster R-CNN,” in 2024 IEEE International Conference on Interdisciplinary Approaches in Technology and Management for Social Innovation (IATMSI), 2024, pp. 1–6. doi: 10.1109/IATMSI60426.2024.10503209.

K. Dhawan, R. S. Perumal, and R. K. Nadesh, “Image-based Mangifera Indica Leaf Disease Detection using Transfer Learning for Deep Learning Methods,” vol. 22, no. 2, pp. 27–40, 2023.

V. K. Pratap and N. S. Kumar, “Deep Learning based Mango Leaf Disease Detection for Classifying and Evaluating Mango Leaf Diseases,” vol. 15, no. 02, pp. 261–277, 2024.

Q. Wang and X. Duan, “Detection and Identification of Mango Disease Leaves Based on Improved YOLOv7,” in 2024 5th International Conference on Computer Vision, Image and Deep Learning (CVIDL), 2024, pp. 1263–1267. doi: 10.1109/CVIDL62147.2024.10603942.

G. O. S et al., “Deep Learning-based Mango Leaf Disease Detection using Yolov8,” in 2025 3rd International Conference on Advancement in Computation & Computer Technologies (InCACCT), 2025, pp. 881–885. doi: 10.1109/InCACCT65424.2025.11011320.

A. Zargar, “Mango Leaf Diseases Dataset.” [Online]. Available: https://www.kaggle.com/datasets/ahmadzargar/mango-leaf-diseases-dataset?select=val

A. Of, “Biological and Optimal Control Model for Powdery Mildew Disease in Mango Plants and Fruits,” vol. 9, pp. 174–188, 2025.

M. Fitopatologi, F. Pertanian, U. G. Mada, and K. Actin, “IDENTIFIKASI Colletotrichum asianum PENYEBAB ANTRAKNOSA MANGGA KULTIVAR GOLEK DI INDRAMAYU IDENTIFICATION OF Colletotrichum asianum CAUSING ANTHRACNOSE Anthracnose disease is one of the major obstacles in mango cultivation . This disease is highly detrimental to mango production , especially during the post- harvest period . Symptoms of anthracnose disease were observed on the Golek mango cultivar in the farmer ’ s warehouse in Indramayu District . The aim of this study was to identify the phytopathogenic fungi that cause mango anthracnose disease as the first step in developing effective control measures . The morphology of the phytopathogenic fungi was characterized both macroscopically and microscopically . Pathogen identification was performed using multilocus molecular techniques with ITS and actin gene region markers . The phytopathogenic fungi were identified as Colletotrichum asianum based on morphological characterization and molecular identification . Koch ’ s postulates of the species were confirmed through a pathogenicity test .,” vol. 8, no. 1, pp. 1–13, 2023.

A. Hossain, S. Sakib, H. Muhammad, and S. E. Arman, “Heliyon Deep learning for mango leaf disease identification : A vision transformer perspective,” Heliyon, vol. 10, no. 17, p. e36361, 2024, doi: 10.1016/j.heliyon.2024.e36361.

S. D. Anggraeni, E. Y. Puspaningrum, A. L. Nurlaili, J. Raya, R. Madya, and G. Anyar, “KLASIFIKASI PENYAKIT DAUN MANGGA MENGGUNAKAN ANFIS,” vol. 9, no. 3, pp. 5467–5473, 2025.

A. Niscioli, “Impact of Twig-Tip Dieback on Leaf Nutrient Status and Resorption Efficiency of Mango ( Mangifera indica L .) Trees,” 2024.

D. Doermann, “YOLOv12: Attention-Centric Real-Time Object Detectors”.

P. E. B. Enchmarking, F. O. R. R. Eal, I. M. E. O. Bject, R. Sapkota, R. Harsha, and C. Ajay, “YOLO26: Key Architectural Enhancements and Performance Benchmarking for Real-Time Object Detection,” no. September 2025, pp. 1–15, 2026.

P. Hidayatullah, R. Tubagus, and P. N. Bandung, “YOLO26 : A Comprehensive Architecture Overview and Key Improvements,” 2026.

H. Judul, F. T. Industri, and U. I. Indonesia, “EVALUASI PENGARUH VARIASI TINGKAT ANOTASI TERHADAP PERFORMA DAN EFISIENSI MODEL YOLOv11 PADA DETEKSI MULTI-OBJEK BUAH TERHADAP PERFORMA DAN EFISIENSI MODEL YOLOv11,” 2025.

I. Ahmad et al., “applied sciences Deep Learning Based Detector YOLOv5 for Identifying Insect Pests,” 2022.

X. Li et al., “Generalized Focal Loss : Learning Qualified and Distributed Bounding Boxes for Dense Object Detection,” pp. 1–14.

T. Diwan, G. Anirudh, and J. V Tembhurne, “Object detection using YOLO : challenges , architectural successors , datasets and applications,” pp. 9243–9275, 2023.

K. Patel, C. Bhatt, and P. L. Mazzeo, “Improved Ship Detection Algorithm from Satellite Images Using YOLOv7 and Graph Neural Network,” 2022.

D. Reis, J. Hong, J. Kupec, and A. Daoudi, “Real-Time Flying Object Detection with YOLOv8”.

G. Thiodorus, A. Prasetia, L. Afrizal, and N. Yudistira, “Klasifikasi citra makanan / nonmakanan menggunakan metode Transfer Learning dengan model Residual Network Classification of food / non-food images using Transfer Learning method with Residual Network model,” vol. 11, no. 2, pp. 74–83, 2021.

Downloads

Published

2026-05-07

How to Cite

Setiyo, H. A., & Anifah, L. (2026). Mango Leaf Detection: Comparison of YOLOv12n and YOLOv26n for Mangifera indica Disease. Nucleus Journal, 5(1), 27–45. https://doi.org/10.32492/nucleus.v5i1.5103