1
|
Sledevič T, Serackis A, Matuzevičius D, Plonis D, Vdoviak G. Visual recognition of honeybee behavior patterns at the hive entrance. PLoS One 2025; 20:e0318401. [PMID: 39999093 PMCID: PMC11856287 DOI: 10.1371/journal.pone.0318401] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [MESH Headings] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 11/14/2024] [Accepted: 01/15/2025] [Indexed: 02/27/2025] Open
Abstract
This study presents a novel method for automatically recognizing honeybee behavior patterns at the hive entrance, significantly contributing to beekeeping and hive management. Utilizing advanced YOLOv8 models for detection and segmentation, our approach analyzes various aspects of bee behavior, including location, direction, path trajectory, and movement speed within a designated area on the hive's landing board. The system effectively detects multiple bee activities such as foraging, fanning, washboarding, and defense, achieving a mean detection accuracy of 98% and operating at speeds of up to 36 fps, surpassing state-of-the-art methods in both speed and accuracy. Key contributions include the development of a comprehensive dataset with 7200 frames from eight beehives, the introduction of the first known research focused on recognizing bee behavior patterns through visual analysis at the hive entrance, and a comparative evaluation of various object detection and tracking algorithms tailored for bee detection and behavior recognition. Our findings indicate that this method enhances monitoring capabilities for beekeepers while reducing the need for manual inspections, thereby minimizing disturbances to the bees. By analyzing spatial trajectories and occurrence density maps, the proposed framework provides robust identification of overlapping behaviors, facilitating timely interventions when necessary. This work lays the groundwork for future automated monitoring systems aimed at improving hive health and productivity.
Collapse
Affiliation(s)
- Tomyslav Sledevič
- Department of Electronic Systems, Faculty of Electronics, Vilnius Gediminas Technical University – VILNIUS TECH, Vilnius, Lithuania
| | - Artūras Serackis
- Department of Electronic Systems, Faculty of Electronics, Vilnius Gediminas Technical University – VILNIUS TECH, Vilnius, Lithuania
| | - Dalius Matuzevičius
- Department of Electronic Systems, Faculty of Electronics, Vilnius Gediminas Technical University – VILNIUS TECH, Vilnius, Lithuania
| | - Darius Plonis
- Department of Electronic Systems, Faculty of Electronics, Vilnius Gediminas Technical University – VILNIUS TECH, Vilnius, Lithuania
| | - Gabriela Vdoviak
- Department of Electronic Systems, Faculty of Electronics, Vilnius Gediminas Technical University – VILNIUS TECH, Vilnius, Lithuania
| |
Collapse
|
2
|
Lei C, Lu Y, Xing Z, Zhang J, Li S, Wu W, Liu S. A Honey Bee In-and-Out Counting Method Based on Multiple Object Tracking Algorithm. INSECTS 2024; 15:974. [PMID: 39769576 PMCID: PMC11677362 DOI: 10.3390/insects15120974] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Grants] [Track Full Text] [Figures] [Subscribe] [Scholar Register] [Received: 10/22/2024] [Revised: 12/02/2024] [Accepted: 12/03/2024] [Indexed: 01/11/2025]
Abstract
The honey bee (Apis mellifera) is of great significance to both the ecological environment and human society, providing bee products and making a significant contribution to the pollination of crops [...].
Collapse
Affiliation(s)
| | | | | | | | | | - Wei Wu
- Key Laboratory of Agricultural Blockchain Application, Agricultural Information Institute, Chinese Academy of Agricultural Sciences, Ministry of Agriculture and Rural Affairs, Beijing 100081, China; (C.L.); (Y.L.); (Z.X.); (J.Z.); (S.L.)
| | - Shengping Liu
- Key Laboratory of Agricultural Blockchain Application, Agricultural Information Institute, Chinese Academy of Agricultural Sciences, Ministry of Agriculture and Rural Affairs, Beijing 100081, China; (C.L.); (Y.L.); (Z.X.); (J.Z.); (S.L.)
| |
Collapse
|
3
|
Kontogiannis S. Beehive Smart Detector Device for the Detection of Critical Conditions That Utilize Edge Device Computations and Deep Learning Inferences. SENSORS (BASEL, SWITZERLAND) 2024; 24:5444. [PMID: 39205138 PMCID: PMC11359104 DOI: 10.3390/s24165444] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Figures] [Subscribe] [Scholar Register] [Received: 07/22/2024] [Revised: 08/17/2024] [Accepted: 08/20/2024] [Indexed: 09/04/2024]
Abstract
This paper presents a new edge detection process implemented in an embedded IoT device called Bee Smart Detection node to detect catastrophic apiary events. Such events include swarming, queen loss, and the detection of Colony Collapse Disorder (CCD) conditions. Two deep learning sub-processes are used for this purpose. The first uses a fuzzy multi-layered neural network of variable depths called fuzzy-stranded-NN to detect CCD conditions based on temperature and humidity measurements inside the beehive. The second utilizes a deep learning CNN model to detect swarming and queen loss cases based on sound recordings. The proposed processes have been implemented into autonomous Bee Smart Detection IoT devices that transmit their measurements and the detection results to the cloud over Wi-Fi. The BeeSD devices have been tested for easy-to-use functionality, autonomous operation, deep learning model inference accuracy, and inference execution speeds. The author presents the experimental results of the fuzzy-stranded-NN model for detecting critical conditions and deep learning CNN models for detecting swarming and queen loss. From the presented experimental results, the stranded-NN achieved accuracy results up to 95%, while the ResNet-50 model presented accuracy results up to 99% for detecting swarming or queen loss events. The ResNet-18 model is also the fastest inference speed replacement of the ResNet-50 model, achieving up to 93% accuracy results. Finally, cross-comparison of the deep learning models with machine learning ones shows that deep learning models can provide at least 3-5% better accuracy results.
Collapse
Affiliation(s)
- Sotirios Kontogiannis
- Laboratory Team of Distributed MicroComputer Systems, Department of Mathematics, University of Ioannina, University Campus, 45110 Ioannina, Greece
| |
Collapse
|
4
|
Divasón J, Romero A, Martinez-de-Pison FJ, Casalongue M, Silvestre MA, Santolaria P, Yániz JL. Analysis of Varroa Mite Colony Infestation Level Using New Open Software Based on Deep Learning Techniques. SENSORS (BASEL, SWITZERLAND) 2024; 24:3828. [PMID: 38931612 PMCID: PMC11207890 DOI: 10.3390/s24123828] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Grants] [Track Full Text] [Subscribe] [Scholar Register] [Received: 03/19/2024] [Revised: 06/07/2024] [Accepted: 06/11/2024] [Indexed: 06/28/2024]
Abstract
Varroa mites, scientifically identified as Varroa destructor, pose a significant threat to beekeeping and cause one of the most destructive diseases affecting honey bee populations. These parasites attach to bees, feeding on their fat tissue, weakening their immune systems, reducing their lifespans, and even causing colony collapse. They also feed during the pre-imaginal stages of the honey bee in brood cells. Given the critical role of honey bees in pollination and the global food supply, controlling Varroa mites is imperative. One of the most common methods used to evaluate the level of Varroa mite infestation in a bee colony is to count all the mites that fall onto sticky boards placed at the bottom of a colony. However, this is usually a manual process that takes a considerable amount of time. This work proposes a deep learning approach for locating and counting Varroa mites using images of the sticky boards taken by smartphone cameras. To this end, a new realistic dataset has been built: it includes images containing numerous artifacts and blurred parts, which makes the task challenging. After testing various architectures (mainly based on two-stage detectors with feature pyramid networks), combination of hyperparameters and some image enhancement techniques, we have obtained a system that achieves a mean average precision (mAP) metric of 0.9073 on the validation set.
Collapse
Affiliation(s)
- Jose Divasón
- Departament of Mathematics and Computer Science, University of La Rioja, 26006 Logroño, Spain;
| | - Ana Romero
- Departament of Mathematics and Computer Science, University of La Rioja, 26006 Logroño, Spain;
| | | | - Matías Casalongue
- BIOFITER Research Group, Environmental Sciences Institute (IUCA), Department of Animal Production and Food Sciences, University of Zaragoza, 22071 Huesca, Spain; (M.C.); (P.S.)
| | - Miguel A. Silvestre
- Department of Cell Biology, Functional Biology and Physical Anthropology, University of Valencia, 46100 Burjassot, Spain;
| | - Pilar Santolaria
- BIOFITER Research Group, Environmental Sciences Institute (IUCA), Department of Animal Production and Food Sciences, University of Zaragoza, 22071 Huesca, Spain; (M.C.); (P.S.)
| | - Jesús L. Yániz
- BIOFITER Research Group, Environmental Sciences Institute (IUCA), Department of Animal Production and Food Sciences, University of Zaragoza, 22071 Huesca, Spain; (M.C.); (P.S.)
| |
Collapse
|
5
|
Kulyukin VA, Kulyukin AV. Accuracy vs. Energy: An Assessment of Bee Object Inference in Videos from On-Hive Video Loggers with YOLOv3, YOLOv4-Tiny, and YOLOv7-Tiny. SENSORS (BASEL, SWITZERLAND) 2023; 23:6791. [PMID: 37571576 PMCID: PMC10422429 DOI: 10.3390/s23156791] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Subscribe] [Scholar Register] [Received: 06/06/2023] [Revised: 07/16/2023] [Accepted: 07/24/2023] [Indexed: 08/13/2023]
Abstract
A continuing trend in precision apiculture is to use computer vision methods to quantify characteristics of bee traffic in managed colonies at the hive's entrance. Since traffic at the hive's entrance is a contributing factor to the hive's productivity and health, we assessed the potential of three open-source convolutional network models, YOLOv3, YOLOv4-tiny, and YOLOv7-tiny, to quantify omnidirectional traffic in videos from on-hive video loggers on regular, unmodified one- and two-super Langstroth hives and compared their accuracies, energy efficacies, and operational energy footprints. We trained and tested the models with a 70/30 split on a dataset of 23,173 flying bees manually labeled in 5819 images from 10 randomly selected videos and manually evaluated the trained models on 3600 images from 120 randomly selected videos from different apiaries, years, and queen races. We designed a new energy efficacy metric as a ratio of performance units per energy unit required to make a model operational in a continuous hive monitoring data pipeline. In terms of accuracy, YOLOv3 was first, YOLOv7-tiny-second, and YOLOv4-tiny-third. All models underestimated the true amount of traffic due to false negatives. YOLOv3 was the only model with no false positives, but had the lowest energy efficacy and highest operational energy footprint in a deployed hive monitoring data pipeline. YOLOv7-tiny had the highest energy efficacy and the lowest operational energy footprint in the same pipeline. Consequently, YOLOv7-tiny is a model worth considering for training on larger bee datasets if a primary objective is the discovery of non-invasive computer vision models of traffic quantification with higher energy efficacies and lower operational energy footprints.
Collapse
|
6
|
Noriega-Escamilla A, Camacho-Bello CJ, Ortega-Mendoza RM, Arroyo-Núñez JH, Gutiérrez-Lazcano L. Varroa Destructor Classification Using Legendre-Fourier Moments with Different Color Spaces. J Imaging 2023; 9:144. [PMID: 37504821 PMCID: PMC10381282 DOI: 10.3390/jimaging9070144] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Key Words] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Received: 05/03/2023] [Revised: 07/05/2023] [Accepted: 07/10/2023] [Indexed: 07/29/2023] Open
Abstract
Bees play a critical role in pollination and food production, so their preservation is essential, particularly highlighting the importance of detecting diseases in bees early. The Varroa destructor mite is the primary factor contributing to increased viral infections that can lead to hive mortality. This study presents an innovative method for identifying Varroa destructors in honey bees using multichannel Legendre-Fourier moments. The descriptors derived from this approach possess distinctive characteristics, such as rotation and scale invariance, and noise resistance, allowing the representation of digital images with minimal descriptors. This characteristic is advantageous when analyzing images of living organisms that are not in a static posture. The proposal evaluates the algorithm's efficiency using different color models, and to enhance its capacity, a subdivision of the VarroaDataset is used. This enhancement allows the algorithm to process additional information about the color and shape of the bee's legs, wings, eyes, and mouth. To demonstrate the advantages of our approach, we compare it with other deep learning methods, in semantic segmentation techniques, such as DeepLabV3, and object detection techniques, such as YOLOv5. The results suggest that our proposal offers a promising means for the early detection of the Varroa destructor mite, which could be an essential pillar in the preservation of bees and, therefore, in food production.
Collapse
Affiliation(s)
- Alicia Noriega-Escamilla
- Artificial Intelligence Laboratory, Universidad Politécnica de Tulancingo, Tulancingo 43629, Hidalgo, Mexico
| | - César J Camacho-Bello
- Artificial Intelligence Laboratory, Universidad Politécnica de Tulancingo, Tulancingo 43629, Hidalgo, Mexico
| | - Rosa M Ortega-Mendoza
- Artificial Intelligence Laboratory, Universidad Politécnica de Tulancingo, Tulancingo 43629, Hidalgo, Mexico
| | - José H Arroyo-Núñez
- Artificial Intelligence Laboratory, Universidad Politécnica de Tulancingo, Tulancingo 43629, Hidalgo, Mexico
| | - Lucia Gutiérrez-Lazcano
- Artificial Intelligence Laboratory, Universidad Politécnica de Tulancingo, Tulancingo 43629, Hidalgo, Mexico
| |
Collapse
|
7
|
Deep Learning Beehive Monitoring System for Early Detection of the Varroa Mite. SIGNALS 2022. [DOI: 10.3390/signals3030030] [Citation(s) in RCA: 0] [Impact Index Per Article: 0] [Reference Citation Analysis] [Abstract] [Track Full Text] [Journal Information] [Subscribe] [Scholar Register] [Indexed: 11/17/2022] Open
Abstract
One of the most critical causes of colony collapse disorder in beekeeping is caused by the Varroa mite. This paper presents an embedded camera module supported by a deep learning algorithm for the process of early detecting of Varroa infestations. This is achieved using a deep learning algorithm that tries to identify bees inside the brood frames carrying the mite in real-time. The end-node device camera module is placed inside the brood box. It is equipped with offline detection in remote areas of limited network coverage or online imagery data transmission and mite detection over the cloud. The proposed deep learning algorithm uses a deep learning network for bee object detection and an image processing step to identify the mite on the previously detected objects. Finally, the authors present their proof of concept experimentation of their approach that can offer a total bee and varroa detection accuracy of close to 70%. The authors present in detail and discuss their experimental results.
Collapse
|
8
|
Yang K, Peng B, Gu F, Zhang Y, Wang S, Yu Z, Hu Z. Convolutional Neural Network for Object Detection in Garlic Root Cutting Equipment. Foods 2022; 11:foods11152197. [PMID: 35892782 PMCID: PMC9331909 DOI: 10.3390/foods11152197] [Citation(s) in RCA: 1] [Impact Index Per Article: 0.3] [Reference Citation Analysis] [Abstract] [Track Full Text] [Download PDF] [Figures] [Journal Information] [Subscribe] [Scholar Register] [Received: 06/08/2022] [Revised: 07/18/2022] [Accepted: 07/22/2022] [Indexed: 01/03/2023] Open
Abstract
Traditional manual garlic root cutting is inefficient and can cause food safety problems. To develop food processing equipment, a novel and accurate object detection method for garlic using deep learning—a convolutional neural network—is proposed in this study. The you-only-look-once (YOLO) algorithm, which is based on lightweight and transfer learning, is the most advanced computer vision method for single large object detection. To detect the bulb, the YOLOv2 model was modified using an inverted residual module and residual structure. The modified model was trained based on images of bulbs with varied brightness, surface attachment, and shape, which enabled sufficient learning of the detector. The optimum minibatches and epochs were obtained by comparing the test results of different training parameters. Research shows that IRM-YOLOv2 is superior to the SqueezeNet, ShuffleNet, and YOLOv2 models of classical neural networks, as well as the YOLOv3 and YOLOv4 algorithm models. The confidence score, average accuracy, deviation, standard deviation, detection time, and storage space of IRM-YOLOv2 were 0.98228, 99.2%, 2.819 pixels, 4.153, 0.0356 s, and 24.2 MB, respectively. In addition, this study provides an important reference for the application of the YOLO algorithm in food research.
Collapse
Affiliation(s)
- Ke Yang
- Nanjing Institute of Agricultural Mechanization, Ministry of Agriculture and Rural Affairs, Nanjing 210014, China; (K.Y.); (B.P.); (F.G.); (Y.Z.)
| | - Baoliang Peng
- Nanjing Institute of Agricultural Mechanization, Ministry of Agriculture and Rural Affairs, Nanjing 210014, China; (K.Y.); (B.P.); (F.G.); (Y.Z.)
| | - Fengwei Gu
- Nanjing Institute of Agricultural Mechanization, Ministry of Agriculture and Rural Affairs, Nanjing 210014, China; (K.Y.); (B.P.); (F.G.); (Y.Z.)
| | - Yanhua Zhang
- Nanjing Institute of Agricultural Mechanization, Ministry of Agriculture and Rural Affairs, Nanjing 210014, China; (K.Y.); (B.P.); (F.G.); (Y.Z.)
| | - Shenying Wang
- College of Biosystems Engineering and Food Science, Zhejiang University, Hangzhou 310058, China;
| | - Zhaoyang Yu
- Key Laboratory of Modern Agricultural Equipment, Ministry of Agriculture and Rural Affairs, Nanjing 210014, China
- Correspondence: (Z.Y.); (Z.H.)
| | - Zhichao Hu
- Nanjing Institute of Agricultural Mechanization, Ministry of Agriculture and Rural Affairs, Nanjing 210014, China; (K.Y.); (B.P.); (F.G.); (Y.Z.)
- Correspondence: (Z.Y.); (Z.H.)
| |
Collapse
|
9
|
Pilipović R, Risojević V, Božič J, Bulić P, Lotrič U. An Approximate GEMM Unit for Energy-Efficient Object Detection. SENSORS 2021; 21:s21124195. [PMID: 34207295 PMCID: PMC8234017 DOI: 10.3390/s21124195] [Citation(s) in RCA: 1] [Impact Index Per Article: 0.3] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Download PDF] [Figures] [Subscribe] [Scholar Register] [Received: 05/24/2021] [Revised: 06/12/2021] [Accepted: 06/15/2021] [Indexed: 11/16/2022]
Abstract
Edge computing brings artificial intelligence algorithms and graphics processing units closer to data sources, making autonomy and energy-efficient processing vital for their design. Approximate computing has emerged as a popular strategy for energy-efficient circuit design, where the challenge is to achieve the best tradeoff between design efficiency and accuracy. The essential operation in artificial intelligence algorithms is the general matrix multiplication (GEMM) operation comprised of matrix multiplication and accumulation. This paper presents an approximate general matrix multiplication (AGEMM) unit that employs approximate multipliers to perform matrix–matrix operations on four-by-four matrices given in sixteen-bit signed fixed-point format. The synthesis of the proposed AGEMM unit to the 45 nm Nangate Open Cell Library revealed that it consumed only up to 36% of the area and 25% of the energy required by the exact general matrix multiplication unit. The AGEMM unit is ideally suited to convolutional neural networks, which can adapt to the error induced in the computation. We evaluated the AGEMM units’ usability for honeybee detection with the YOLOv4-tiny convolutional neural network. The results implied that we can deploy the AGEMM units in convolutional neural networks without noticeable performance degradation. Moreover, the AGEMM unit’s employment can lead to more area- and energy-efficient convolutional neural network processing, which in turn could prolong sensors’ and edge nodes’ autonomy.
Collapse
Affiliation(s)
- Ratko Pilipović
- Faculty of Computer and Information Science, University of Ljubljana, 1000 Ljubljana, Slovenia; (P.B.); (U.L.)
- Correspondence:
| | - Vladimir Risojević
- Faculty of Electrical Engineering, University of Banja Luka, 78000 Banja Luka, Bosnia and Herzegovina;
| | - Janko Božič
- Biotechnical Faculty, University of Ljubljana, 1000 Ljubljana, Slovenia;
| | - Patricio Bulić
- Faculty of Computer and Information Science, University of Ljubljana, 1000 Ljubljana, Slovenia; (P.B.); (U.L.)
| | - Uroš Lotrič
- Faculty of Computer and Information Science, University of Ljubljana, 1000 Ljubljana, Slovenia; (P.B.); (U.L.)
| |
Collapse
|
10
|
Szczurek A, Maciejewska M. Beehive Air Sampling and Sensing Device Operation in Apicultural Applications-Methodological and Technical Aspects. SENSORS 2021; 21:s21124019. [PMID: 34200929 PMCID: PMC8230472 DOI: 10.3390/s21124019] [Citation(s) in RCA: 3] [Impact Index Per Article: 0.8] [Reference Citation Analysis] [Abstract] [Key Words] [MESH Headings] [Track Full Text] [Download PDF] [Figures] [Subscribe] [Scholar Register] [Received: 05/21/2021] [Revised: 06/08/2021] [Accepted: 06/08/2021] [Indexed: 11/16/2022]
Abstract
The basis of effective beekeeping is the information about the state of the bee colony. A rich source of respective information is beehive air. This source may be explored by applying gas sensing. It allows for classifying bee colony states based on beehive air measurements. In this work, we discussed the essential aspects of beehive air sampling and sensing device operation in apicultural applications. They are the sampling method (diffusive vs. dynamic, temporal aspects), sampling system (sample probe, sampling point selection, sample conditioning unit and sample delivery system) and device operation mode ('exposure-cleaning' operation). It was demonstrated how factors associated with the beehive, bee colony and ambient environment define prerequisites for these elements of the measuring instrument. These requirements have to be respected in order to assure high accuracy of measurement and high-quality information. The presented results are primarily based on the field measurement study performed in summer 2020, in three apiaries, in various meteorological conditions. Two exemplars of a prototype gas sensing device were used. These sensor devices were constructed according to our original concept.
Collapse
|