journal article·2025-05-01Open access

Coffee-Leaf Diseases and Pests Detection Based on YOLO Models

Jonatan Fragoso, Clécio Silva, Thuanne Paixão, Ana Beatriz Alvarez, Olacir Castro Júnior, Ruben Florez, Facundo Palomino-Quispe, Lucas Graciolli Savian, Paulo André Trazzi

Applied Sciences· Volume 15· Issue 9

Abstract

Coffee cultivation is vital to the global economy, but faces significant challenges with diseases such as rust, miner, phoma, and cercospora, which impact production and sustainable crop management. In this scenario, deep learning techniques have shown promise for the early identification of these diseases, enabling more efficient monitoring. This paper proposes an approach for detecting diseases and pests on coffee leaves using an efficient single-shot object-detection algorithm. The experiments were conducted using the YOLOv8, YOLOv9, YOLOv10 and YOLOv11 versions, including their variations. The BRACOL dataset, annotated by an expert, was used in the experiments to guarantee the quality of the annotations and the reliability of the trained models. The evaluation of the models included quantitative and qualitative analyses, considering the mAP, F1-Score, and recall metrics. In the analyses, YOLOv8s stands out as the most effective, with a mAP of 54.5%, an inference time of 11.4 ms and the best qualitative predictions, making it ideal for real-time applications.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Smart Agriculture and AI · Industrial Vision Systems and Defect Detection · Food Supply Chain Traceability

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

PAVIC Laboratory, University of Acre (UFAC), Rio Branco 69915-900, Brazil

LIECAR Laboratory, Universidad Nacional de San Antonio Abad del Cusco (UNSAAC), Cuzco 08003, Peru

Phytopathology Laboratory, University of Acre (UFAC), Rio Branco 69915-900, Brazil

Funding

PAVIC Laboratory, University of Acre, Brazil

References (39)

Show source-provided references
1. Perspectivas e desafios do agronegócio brasileiro frente ao mercado internacional
2. Cafeicultura: EvoluÇÃO do cafÉ no brasil, minas gerais e no municÍPIO de joÃO pinheiro–MG10.56083/RCV3N11-091 ↗
3. Coffee cultivation techniques, impact of climate change on coffee production, role of nanoparticles and molecular markers in coffee crop improvement, and challenges10.5010/JPB.2021.48.4.207 ↗
4. Coffee disease classification at the edge using deep learning10.1016/j.atech.2023.100183 ↗
5. Paulos, E.B., and Woldeyohannis, M.M. (2022, January 28–30). Detection and classification of coffee leaf disease using deep learning. Proceedings of the IEEE 2022 International Conference on Information and Communication Technology for Development for Africa (ICT4DA), Bahir Dar, Ethiopia.10.1109/ICT4DA56482.2022.9971300 ↗
6. Wang, S., Xu, D., Liang, H., Bai, Y., Li, X., Zhou, J., Su, C., and Wei, W. (2025). Advances in Deep Learning Applications for Plant Disease and Pest Detection: A Review. Remote Sens., 17.10.3390/rs17040698 ↗
7. A review of the use of convolutional neural networks in agriculture10.1017/S0021859618000436 ↗
8. Pinto, L.A., Mary, L., and Dass, S. (2021, January 4–6). The real-time mobile application for identification of diseases in coffee leaves using the CNN model. Proceedings of the IEEE 2021 Second International Conference on Electronics and Sustainable Communication Systems (ICESC), Coimbatore, India.10.1109/ICESC51422.2021.9532662 ↗
9. A comprehensive survey of convolutions in deep learning: Applications, challenges, and future trends10.1109/ACCESS.2024.3376441 ↗
10. Deep learning and computer vision in plant disease detection: A comprehensive review of techniques, models, and trends in precision agriculture10.1007/s10462-024-11100-x ↗
11. Ali, M.L., and Zhang, Z. (2024). The YOLO framework: A comprehensive review of evolution, applications, and benchmarks in object detection. Computers, 13.10.20944/preprints202410.1785.v1 ↗
12. Cheng, D., Zhao, Z., and Feng, J. (2024). Rice Diseases Identification Method Based on Improved YOLOv7-Tiny. Agriculture, 14.10.3390/agriculture14050709 ↗
13. Girshick, R., Donahue, J., Darrell, T., and Malik, J. (2014, January 23–28). Rich feature hierarchies for accurate object detection and semantic segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA.10.1109/CVPR.2014.81 ↗
14. Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.Y., and Berg, A.C. (2016, January 11–14). Ssd: Single shot multibox detector. Proceedings of the Computer Vision–ECCV 2016: 14th European Conference, Amsterdam, The Netherlands. Proceedings, Part I 14.10.1007/978-3-319-46448-0_2 ↗
15. A comprehensive review of yolo architectures in computer vision: From yolov1 to yolov8 and yolo-nas10.3390/make5040083 ↗
16. Wang, C.Y., Yeh, I.H., and Mark Liao, H.Y. (October, January 29). YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information. Proceedings of the European Conference on Computer Vision, Milan, Italy.
17. Wang, A., Chen, H., Liu, L., Chen, K., Lin, Z., and Han, J. (2024). YOLOv10: Real-Time End-to-End Object Detection. arXiv.
18. Khanam, R., and Hussain, M. (2024). Yolov11: An overview of the key architectural enhancements. arXiv.
19. Pineapple (Ananas comosus) fruit detection and localization in natural environment based on binocular stereo vision and improved YOLOv3 model10.1007/s11119-022-09935-x ↗
20. Bangladeshi crops leaf disease detection using YOLOv810.1016/j.heliyon.2024.e36694 ↗
21. Arabica coffee leaf images dataset for coffee leaf disease detection and classification10.1016/j.dib.2021.107142 ↗
22. Deep learning for classification and severity estimation of coffee leaf biotic stress10.1016/j.compag.2019.105162 ↗
23. MDP-YOLO: A LIGHTWEIGHT YOLOV5S ALGORITHM FOR MULTI-SCALE PEST DETECTION10.1590/1809-4430-eng.agric.v43n4e20230065/2023 ↗
24. YOLOv8 para Controle de Produção Pós-colheita e Beneficiamento de Frutos
25. Surya, V., and Santhi, S. (2024, January 4–6). Smart Agriculture: Advanced Rice Disease Detection Using YOLOv10 for Enhanced Crop Health Management. Proceedings of the IEEE 2024 3rd International Conference on Automation, Computing and Renewable Systems (ICACRS), Pudukkottai, India.10.1109/ICACRS62842.2024.10841505 ↗
26. Li, A., Wang, C., Ji, T., Wang, Q., and Zhang, T. (2024). D3-YOLOv10: Improved YOLOv10-Based Lightweight Tomato Detection Algorithm Under Facility Scenario. Agriculture, 14.10.3390/agriculture14122268 ↗
27. Soeb, M.J.A., Jubayer, M.F., Tarin, T.A., Al Mamun, M.R., Ruhad, F.M., Parven, A., Mubarak, N.M., Karri, S.L., and Meftaul, I.M. (2023). Tea leaf disease detection and identification based on YOLOv7 (YOLO-T). Sci. Rep., 13.10.1038/s41598-023-33270-4 ↗
28. Javierto, D.P.P., Martin, J.D.Z., and Villaverde, J.F. (2021, January 28–30). Robusta Coffee Leaf Detection based on YOLOv3-MobileNetv2 model. Proceedings of the 2021 IEEE 13th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment, and Management (HNICEM), Manila, Philippines.10.1109/HNICEM54116.2021.9731899 ↗
29. Coffee Plant Leaf Disease Detection for Digital Agriculture10.5753/jis.2024.3804 ↗
30. CoffeeNet: A deep learning approach for coffee plant leaves diseases recognition10.1016/j.eswa.2023.121481 ↗
31. Ribeyre, F., and Avelino, J. (2012). Impact of field pests and diseases on coffee quality. Specialty Coffee: Managing Quality, International Plant Nutrition Institute; IPNI [Southeast Asia].
32. Jegham, N., Koh, C.Y., Abdelatti, M., and Hendawi, A. (2024). Evaluating the evolution of yolo (you only look once) models: A comprehensive benchmark study of yolo11 and its predecessors. arXiv.
33. Comparative performance of YOLOv8, YOLOv9, YOLOv10, YOLOv11 and Faster R-CNN models for detection of multiple weed species10.1016/j.atech.2024.100648 ↗
34. Bento, J., Paixão, T., and Alvarez, A.B. (2025). Performance Evaluation of YOLOv8, YOLOv9, YOLOv10, and YOLOv11 for Stamp Detection in Scanned Documents. Appl. Sci., 15.10.3390/app15063154 ↗
35. Automated defects detection in extrusion 3D printing using YOLO models
36. Padilla, R., Netto, S.L., and Da Silva, E.A. (2020, January 1–3). A survey on performance metrics for object-detection algorithms. Proceedings of the IEEE 2020 International Conference on Systems, Signals and Image Processing (IWSSIP), Niteroi, Brazil.10.1109/IWSSIP48289.2020.9145130 ↗
37. Jocher, G., Stoken, A., Borovec, J., Changyu, L., Hogan, A., Diaconu, L., Poznanski, J., Yu, L., Rai, P., and Ferriday, R. (2020). ultralytics/yolov5: V3. 0. Zenodo, Available online: https://github.com/ultralytics/yolov5.
38. Divide-and-Conquer: Confluent Triple-Flow Network for RGB-T Salient Object Detection10.1109/TPAMI.2024.3511621 ↗
39. Referring camouflaged object detection10.1109/TPAMI.2025.3532440 ↗