Next Article in Journal
Communicating the Automatic Control Principles in Smart Agriculture Education: The Interactive Water Pump Example
Previous Article in Journal
Hybrid Deep Learning Framework for Eye-in-Hand Visual Control Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real-Time Dolphin Whistle Detection on Raspberry Pi Zero 2 W with a TFLite Convolutional Neural Network

by
Rocco De Marco
1,
Francesco Di Nardo
2,*,
Alessandro Rongoni
2,
Laura Screpanti
2 and
David Scaradozzi
2,3,4
1
Institute of Biological Resources and Marine Biotechnology (IRBIM), National Research Council (CNR), 60125 Ancona, Italy
2
Dipartimento di Ingegneria Dell’Informazione, Università Politecnica delle Marche, 60131 Ancona, Italy
3
ANcybernetics, Università Politecnica delle Marche, 60131 Ancona, Italy
4
National Biodiversity Future Center, 90133 Palermo, Italy
*
Author to whom correspondence should be addressed.
Robotics 2025, 14(5), 67; https://doi.org/10.3390/robotics14050067
Submission received: 6 March 2025 / Revised: 30 April 2025 / Accepted: 15 May 2025 / Published: 19 May 2025
(This article belongs to the Section Sensors and Control in Robotics)

Abstract

The escalating conflict between cetaceans and fisheries underscores the need for efficient mitigation strategies that balance conservation priorities with economic viability. This study presents a TinyML-driven approach deploying an optimized Convolutional Neural Network (CNN) on a Raspberry Pi Zero 2 W for real-time detection of bottlenose dolphin whistles, leveraging spectrogram analysis to address acoustic monitoring challenges. Specifically, a CNN model previously developed for classifying dolphins’ vocalizations and originally implemented with TensorFlow was converted to TensorFlow Lite (TFLite) with architectural optimizations, reducing the model size by 76%. Both TensorFlow and TFLite models were trained on 22 h of underwater recordings taken in controlled environments and processed into 0.8 s spectrogram segments (300 × 150 pixels). Despite reducing model size, TFLite models maintained the same accuracy as the original TensorFlow model (87.8% vs. 87.0%). Throughput and latency were evaluated by varying the thread allocation (1–8 threads), revealing the best performance at 4 threads (quad-core alignment), achieving an inference latency of 120 ms and sustained throughput of 8 spectrograms/second. The system demonstrated robustness in 120 h of continuous stress tests without failure, underscoring its reliability in marine environments. This work achieved a critical balance between computational efficiency and detection fidelity (F1-score: 86.9%) by leveraging quantized, multithreaded inference. These advancements enable low-cost devices for real-time cetacean presence detection, offering transformative potential for bycatch reduction and adaptive deterrence systems. This study bridges artificial intelligence innovation with ecological stewardship, providing a scalable framework for deploying machine learning in resource-constrained settings while addressing urgent conservation challenges.
Keywords: TinyML; dolphin whistle detection; convolutional neural network (CNN); TensorFlow Lite; Raspberry Pi TinyML; dolphin whistle detection; convolutional neural network (CNN); TensorFlow Lite; Raspberry Pi
Graphical Abstract

Share and Cite

MDPI and ACS Style

De Marco, R.; Di Nardo, F.; Rongoni, A.; Screpanti, L.; Scaradozzi, D. Real-Time Dolphin Whistle Detection on Raspberry Pi Zero 2 W with a TFLite Convolutional Neural Network. Robotics 2025, 14, 67. https://doi.org/10.3390/robotics14050067

AMA Style

De Marco R, Di Nardo F, Rongoni A, Screpanti L, Scaradozzi D. Real-Time Dolphin Whistle Detection on Raspberry Pi Zero 2 W with a TFLite Convolutional Neural Network. Robotics. 2025; 14(5):67. https://doi.org/10.3390/robotics14050067

Chicago/Turabian Style

De Marco, Rocco, Francesco Di Nardo, Alessandro Rongoni, Laura Screpanti, and David Scaradozzi. 2025. "Real-Time Dolphin Whistle Detection on Raspberry Pi Zero 2 W with a TFLite Convolutional Neural Network" Robotics 14, no. 5: 67. https://doi.org/10.3390/robotics14050067

APA Style

De Marco, R., Di Nardo, F., Rongoni, A., Screpanti, L., & Scaradozzi, D. (2025). Real-Time Dolphin Whistle Detection on Raspberry Pi Zero 2 W with a TFLite Convolutional Neural Network. Robotics, 14(5), 67. https://doi.org/10.3390/robotics14050067

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop