EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Development and Validation of an Image Dataset for Automatic Recognition of the Olive Fruit Fly (Bactrocera oleae) Using Machine Learning

Flora Moreno-Alcaide, Meelad Yousef-Yousef, Juan Manuel Díaz-Cabrera, Luis Miguel Cámara-Díaz, Enrique Quesada-Moraga, José Cristóbal Ramírez-Faz

AgriEngineering · 08.12.2025 · 7 (12) · 422

DOI: 10.3390/agriengineering7120422 ↗

Kurz gefasst

Fachartikel in der Zeitschrift AgriEngineering, online erschienen am 08.12.2025. Verfasst von Flora Moreno-Alcaide und 5 weiteren Autor:innen. Die Arbeit wurde bisher 3-mal zitiert (Crossref) und nennt 30 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The olive fruit fly Bactrocera oleae (Rossi) (Diptera: Tephritidae) is the primary pest of olive crop globally, causing serious economic losses each year. Early and accurate detection of this pest is essential for implementing integrated management strategies and minimizing the use of chemical inputs. In this context, the application of advanced technologies such as computer vision and machine learning through modelling emerges as a promising solution for monitoring and managing this pest. However, the absence of a robust and efficient dataset has hindered the development of reliable models for its recognition. This study details the creation procedure of a dataset comprising 2440 images collected from field and laboratory environments, along with data augmentation and training of three different models using machine learning algorithms. The models were implemented with YOLOv5 and optimized with different versions (s, m, and epoch). All three models achieved accuracy exceeding 90%. The optimisation process, which combined different YOLOv5 versions (s and m) and epochs (300 and 150), determined that the model trained with the s version and 300 epoch provided the best trade-off between accuracy, robustness, and computational efficiency. This makes it the most suitable option for implementation on low-cost, resource-limited platforms such as the Raspberry Pi. This study represents a step toward the integration of artificial intelligence into olive cultivation, bringing significant benefits to both producers and the environment. This study differs from previous YOLOv5-based pest detection research by providing a heterogeneous dataset that combines field and laboratory conditions, and by validating its deployment on a low-cost embedded platform (Raspberry Pi), thus enabling practical automation in Integrated Pest Management (IPM) systems.

Zitieren

APA

Moreno-Alcaide, F., Yousef-Yousef, M., Díaz-Cabrera, J. M., Cámara-Díaz, L. M., Quesada-Moraga, E., & Ramírez-Faz, J. C. (2025). Development and Validation of an Image Dataset for Automatic Recognition of the Olive Fruit Fly (Bactrocera oleae) Using Machine Learning. AgriEngineering, 7(12), 422. https://doi.org/10.3390/agriengineering7120422

Vancouver

Moreno-Alcaide F, Yousef-Yousef M, Díaz-Cabrera JM, Cámara-Díaz LM, Quesada-Moraga E, Ramírez-Faz JC. Development and Validation of an Image Dataset for Automatic Recognition of the Olive Fruit Fly (Bactrocera oleae) Using Machine Learning. AgriEngineering. 2025;7(12):422. doi:10.3390/agriengineering7120422

BibTeX
@article{MorenoAlcaide2025,
  author = {Moreno-Alcaide, Flora and Yousef-Yousef, Meelad and Díaz-Cabrera, Juan Manuel and Cámara-Díaz, Luis Miguel and Quesada-Moraga, Enrique and Ramírez-Faz, José Cristóbal},
  title = {Development and Validation of an Image Dataset for Automatic Recognition of the Olive Fruit Fly (Bactrocera oleae) Using Machine Learning},
  journal = {AgriEngineering},
  year = {2025},
  volume = {7},
  number = {12},
  pages = {422},
  doi = {10.3390/agriengineering7120422}
}
Kostenlos starten →