BirdNET-Pi
A realtime acoustic bird classification system for the Raspberry Pi 4B
Introduction
The BirdNET-Pi project is built on the TFLite version of BirdNET. It is able to recognize bird sounds from a USB sound card in realtime.
Features
- 24/7 recording and BirdNET-Lite analysis
- Web interface access to all data and logs
- Automatic extraction of detected data (creating audio clips of detected bird sounds)
- Spectrograms available for all extractions
- MariaDB integration
- NoMachine remote desktop (for personal use only)
- Live audio stream
- Localisation supported
Requirements
- A Raspberry Pi 4B
- An SD Card with the 64-bit version of RaspiOS installed (download the latest here)
- A USB Microphone or Sound Card
Installation
The system can be installed with:
curl -s https://raw.githubusercontent.com/mcguirepr89/BirdNET-Pi/main/Birders_Guide_Installer.sh | bash
The script first enables and configures the zRAM kernel module for swapping, and reboots. After the reboot, the configuration file is opened for editing. Here, you will input your latitude and longitude and will set a few passwords to protect your Pi. When the installation has finished, the BirdNET-Pi is ready to start collecting and analyzing data on the next boot.
If you have trouble with the installation script, you can cancel and rerun the installer:
~/BirdNET-Pi/Birders_Guide_Installer.sh
Access
The BirdNET-Pi system can be accessed from any web browser on the same network:
Access Credentials:
- Username:
birdnet - Password: The "CADDY_PWD" password set during installation
Uninstallation
/usr/local/bin/uninstall.sh && cd ~ && rm -drf BirdNET-Pi
ToDo, Notes, and Comming Soon
Internationalization:
The bird names are in English by default, but other localized versions are available. Please download the labels_l18n.zip file and replace the model/labels.txt with the corresponding language.
Realtime Analysis Predictions View
The pre-built TFLite binaries for this project also support the BirdNET-Demo, which I am currently testing for integration into the BirdNET-Pi. If you know anything about JavaScript and are willing to help, please let me know in the Live Analysis discussion.
Tips:
You can try to overclock your Pi by placing the following in your /boot/config.txt file:
over_voltage=6
arm_freq=1750
Be sure the Pi is adequately cooled and powered.