Sensors (Oct 2024)

Convolutional Neural Networks for Real Time Classification of Beehive Acoustic Patterns on Constrained Devices

  • Antonio Robles-Guerrero,
  • Salvador Gómez-Jiménez,
  • Tonatiuh Saucedo-Anaya,
  • Daniela López-Betancur,
  • David Navarro-Solís,
  • Carlos Guerrero-Méndez

DOI
https://doi.org/10.3390/s24196384
Journal volume & issue
Vol. 24, no. 19
p. 6384

Abstract

Read online

Recent research has demonstrated the effectiveness of convolutional neural networks (CNN) in assessing the health status of bee colonies by classifying acoustic patterns. However, developing a monitoring system using CNNs compared to conventional machine learning models can result in higher computation costs, greater energy demand, and longer inference times. This study examines the potential of CNN architectures in developing a monitoring system based on constrained hardware. The experimentation involved testing ten CNN architectures from the PyTorch and Torchvision libraries on single-board computers: an Nvidia Jetson Nano (NJN), a Raspberry Pi 5 (RPi5), and an Orange Pi 5 (OPi5). The CNN architectures were trained using four datasets containing spectrograms of acoustic samples of different durations (30, 10, 5, or 1 s) to analyze their impact on performance. The hyperparameter search was conducted using the Optuna framework, and the CNN models were validated using k-fold cross-validation. The inference time and power consumption were measured to compare the performance of the CNN models and the SBCs. The aim is to provide a basis for developing a monitoring system for precision applications in apiculture based on constrained devices and CNNs.

Keywords