Classifier for bioacoustic devices
Project description
acoupi
[!TIP] Read the latest documentation
Readme Content
- What is acoupi?
- Requirements
- Installation
- Ready to use AI Bioacoustics Classifiers
- Acoupi software architecture
- Features and Development
What is acoupi?
acoupi is an open-source Python package that streamlines bioacoustic classifier deployment on edge devices like the Raspberry Pi. It integrates and standardises the entire bioacoustic monitoring workflow, from recording to classification. With various components and templates, acoupi simplifies the creation of custom sensors, handling audio recordings, processing, classifications, detections, communication, and data management.
Requirements
acoupi has been designed to run on single-board computer devices like the Raspberry Pi (RPi). Users should be able to download and test acoupi software on any Linux-based machines with Python version >=3.8,<3.12 installed.
- A Linux-based single board computer such as the Raspberry Pi 4B.
- A SD Card with 64-bit Lite OS version installed.
- A USB Microphone such as an AudioMoth, a µMoth, an Ultramic 192K/250K.
[!TIP] Recomended Hardware
The software has been extensively developed and tested with the RPi 4B. We advise users to select the RPi 4B or a device featuring similar specifications.
Installation
To install and use the bare-bone framework of acoupi on your embedded device follow these steps:
Step 1: Install acoupi and its dependencies.
curl -sSL https://github.com/acoupi/acoupi/raw/main/scripts/setup.sh | bash
Step 2: Configure an acoupi program.
acoupi setup --program `program-name`
acoupi includes two pre-built programs; a default
and a connected
program.
The default
program only records and saves audio files based on users' settings. This program does not do any audio processing neither send any messages, being comparable to an AudioMoth.
The connected
program is similar to the default
program but with the added capability of sending messages to a remote server.
Configure acoupi default
program"
acoupi setup --program acoupi.programs.default
Configure acoupi connected
program"
acoupi setup --program acoupi.programs.connected
Step 3: Start the deployment of your acoupi's configured program.
acoupi deployment start
[!TIP] To check what are the available commands for acoupi, enter
acoupi --help
.
Ready to use AI Bioacoustics Classifiers
acoupi simplifies the use and implementation of open-source AI bioacoustics models.Currently, it supports two classifiers: the BatDetect2
, developed by @macodha and al., and the BirdNET-Lite
, developed by @kahst and al..
[!WARNING] Licenses and Usage
Before using a pre-trained AI bioacoustic classifier, review its license to ensure it aligns with your intended use.
acoupi
programs built with these models inherit the corresponding model licenses. For further licensing details, refer to the FAQ section.
[!WARNING] Model Output Reliability
Please note that
acoupi
is not responsible for the accuracy or reliability of model predictions. It is crucial to understand the performance and limitations of each model before using it in your project.
[!IMPORTANT] Please make sure you are aware of their license, if you use these models.
BatDetect2
The BatDetect2 bioacoustics DL model has been trained to detect and classify UK bats species. The acoupi_batdetect2 repository provides users with a pre-built acoupi program that can be configured and tailored to their use cases.
Step 1: Install acoupi_batdetect2 program.
pip install acoupi_batdetect2
Step 2: Setup and configure acoupi_batdetect2 program.
acoupi setup --program acoupi_batdetect2.program
BirdNET-Lite (COMING SOON!)
The BirdNET-Lite bioacoustics DL model has been trained to detect and classify a large number of bird species. The acoupi_birdnet repository provides users with a pre-build acoupi program that can be configured and tailored to their use cases of birds monitoring.
Install acoupi_birdnet program.
pip install acoupi_birdnet
Setup and configure acoupi_birdnet program.
acoupi setup --program acoupi_birdnet.program
In development 🐳🐘🐝
[!TIP] Interested in sharing your AI bioacoustics model with the community?
acoupi allows you to integrate your own bioacoustics classifier model. If you already have a model and would like to share it with the community, we'd love to hear from you! We are happy to offer guidance and support to help include your classifier in the acoupi list of "ready-to-use" AI bioacoustics classifiers.
acoupi Software
Acoupi software is divided into two parts; the code-based architecture and the running application. The acoupi framework is organised into layers that ensure standardisation of data while providing flexibility of configuration. The acoupi application provides a simple command line interface (CLI) allowing users to configure the acoupi framework for deployment.
acoupi Framework
The acoupi software has been designed to provide maximum flexibility and keep away the internal complexity from a user. The architecture is made of four intricate elements, which we call the data schema, components, tasks, and programs.
The figure below provides a simplified example of an acoupi program. This program illustrates some of the most important data schema, components, and tasks.
[!TIP] Refer to the Explanation of the documentation for full details on each of these elements.
acoupi Application
An acoupi application consists of the full set of code that runs at the deployment stage. This includes a set of scripts made of an acoupi program with user configurations, celery files to organise queues and workers, and bash scripts to start, stop, and reboot the application processes. An acoupi application requires the acoupi package and related dependencies to be installed before a user can configure and run it. The figure below gives an overview of key stages related to the installation, configuration and runtime of an acoupi application.
Features and development
acoupi builds on other Python packages. The list of the most important packages and their functions is summarised below. For more information about each of them, make sure to check their respective documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file acoupi-0.1.0.tar.gz
.
File metadata
- Download URL: acoupi-0.1.0.tar.gz
- Upload date:
- Size: 50.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee6e5524201e83d7ae5af0377d9f2831a111ac53d1f0995be1aa0b0209fc98d4 |
|
MD5 | f8998f2a548149417d78cbbcfdd3a9f8 |
|
BLAKE2b-256 | da8640a371fe20780f1c5240f173e4557ca6d421b82bd1082b24193886a962cb |
File details
Details for the file acoupi-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: acoupi-0.1.0-py3-none-any.whl
- Upload date:
- Size: 112.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3471266894fd420d62e6d55d38459c19f253eaba3e57487c5c1a90c6d269fdd6 |
|
MD5 | 4c05984ed6cba70422226e7f1a8812d9 |
|
BLAKE2b-256 | 00cc3984d7786753454503b021f1c6028808d8beff3270d00df0470706c760be |