Enhancing pollinator conservation: Monitoring of bees through object recognition

Ajay John Alex, Chloe M. Barnes, Pedro Machado, Isibor Ihianle, Gábor Markó, Martin Bencsik, Jordan J. Bird*

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

In an era of rapid climate change and its adverse effects on food production, technological intervention to monitor pollinator conservation is of paramount importance for environmental monitoring and conservation for global food security. The survival of the human species depends on the conservation of pollinators. This article explores the use of Computer Vision and Object Recognition to autonomously track and report bee behaviour from images. A novel dataset of 9664 images containing bees is extracted from video streams and annotated with bounding boxes. With training, validation and testing sets (6722, 1915, and 997 images, respectively), the results of the COCO-based YOLO model fine-tuning approaches show that YOLOv5 m is the most effective approach in terms of recognition accuracy. However, YOLOv5s was shown to be the most optimal for real-time bee detection with an average processing and inference time of 5.1 ms per video frame at the cost of slightly lower ability. The trained model is then packaged within an explainable AI interface, which converts detection events into timestamped reports and charts, with the aim of facilitating use by non-technical users such as expert stakeholders from the apiculture industry towards informing responsible consumption and production.
Original languageEnglish
Article number109665
Number of pages12
JournalComputers and Electronics in Agriculture
Volume228
Early online date28 Nov 2024
DOIs
Publication statusPublished - Jan 2025

Bibliographical note

Copyright © 2024 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY license (https://creativecommons.org/licenses/by/4.0/).

Data Access Statement

All data collected and subsequent code written is made publicly available for future work. The Bee Detection in the Wild dataset, collected for and analysed
in this study, is released via the Kaggle data science platform under the MIT license. It can be downloaded from: https://www.kaggle.com/datasets/birdy654/bee-detection-in-the-wild .

The code for the web interface used to encapsulate the models is
available on Github. It can be downloaded from: https://github.com/
AjayJohnAlex/Bee_Detection .

Keywords

  • Object recognition
  • Computer vision
  • Agriculture
  • Apiculture

Fingerprint

Dive into the research topics of 'Enhancing pollinator conservation: Monitoring of bees through object recognition'. Together they form a unique fingerprint.

Cite this