Skip to main content

A python toolkit for Bird Activity Detection (BAD)

Project description

easybird

PyPI  GitHub  GitHub last commit  GitHub top language  CodeFactor 

easybird is python toolkit for Bird Activity Detection (BAD).

Setup and Install

We recommend using conda to create virtual environment, since we use conda-forge to install an essential library libsndfile. To setup, copy the following command to your terminal.

conda create -n bird
conda activate bird
conda install -c conda-forge libsndfile

Easy install with pip.

pip install easybird

Single Wav

Identify bird activities for single waveform.

from easybird import detection

hasBird, confidence = detection.from_wav('bird.wav')

Output

print(hasBird)
>>> True
print(confidence)
>>> 0.9996312260627747

Multiple Wavs

Identify bird activities for multiple wavforms.

from easybird import detection

results = detection.from_wavs(['bird1.wav','bird2.wav','bird3.wav'])

Output

print(results)
>>> [(bird1, True, 0.99963122), (bird2, True, 0.37834975), (bird3, True, 0.87340939)]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easybird-0.0.3a1.tar.gz (3.7 MB view hashes)

Uploaded Source

Built Distribution

easybird-0.0.3a1-py3-none-any.whl (3.7 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page