Skip to content

A pre-trained deep learning system for detecting bird flight calls in continuous recordings

License

Notifications You must be signed in to change notification settings

amoliu/birdvoxdetect

 
 

Repository files navigation

BirdVoxDetect: robust sound event detection of bird flight calls

An open-source Python library and command-line tool for automatically detecting bird flight calls in audio recordings.

PyPI MIT license Coverage Status Build Status Documentation Status

BirdVoxDetect is a pre-trained deep learning system for detecting bird flight calls in continuous audio recordings. It relies on per-channel energy normalization (PCEN) and context-adaptive convolutional neural network (CA-CNN) for improved robustness to background noise. It is made available both as a Python library and as a command-line tool for Windows, OS X, and Linux.

For details about the deep learning model in BirdVoxDetect and how it was trained, we refer the reader to:

Robust Sound Event Detection in Bioacoustic Sensor Networks
Vincent Lostanlen, Justin Salamon, Andrew Farnsworth, Steve Kelling, and Juan Pablo Bello
Under review, 2019.

Installation instructions

Dependencies

TensorFlow

Because TensorFlow comes in CPU-only and GPU-enabled variants, we leave it up to the user to install the version that best fits their use case.

On most platforms, either of the following commands should properly install TensorFlow:

pip install tensorflow # CPU-only version
pip install tensorflow-gpu # GPU-enabled version

For more detailed information, please consult the installation instructions of TensorFlow.

libsndfile (Linux only)

BirdVoxDetect depends on the PySoundFile module to load audio files, which itself depends on the non-Python library libsndfile. On Windows and Mac OS X, these will be installed automatically via the pip package manager and you can therefore skip this step. However, on Linux, libsndfile must be installed manually via your platform's package manager. For Debian-based distributions (such as Ubuntu), this can be done by simply running

apt-get install libsndfile

For more detailed information, please consult the installation instructions of pysoundfile.

Installing BirdVoxDetect

The simplest way to install BirdVoxDetect is by using pip, which will also install the additional required dependencies if needed.

To install the latest version of BirdVoxDetect from source:

  1. Clone or pull the latest version:

     git clone git@github.com:BirdVox/birdvoxdetect.git
    
  2. Install using pip to handle Python dependencies:

     cd birdvoxdetect
     pip install -e .
    

Acknowledging BirdVoxDetect

Please cite the following paper when using BirdVoxDetect in your work:

[1] Robust Sound Event Detection in Bioacoustic Sensor Networks
Vincent Lostanlen, Justin Salamon, Andrew Farnsworth, Steve Kelling, and Juan Pablo Bello
Under review, 2019.

About

A pre-trained deep learning system for detecting bird flight calls in continuous recordings

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%