A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

birdnetR

Is geared towards providing a robust workflow for ecological data analysis in bioacoustic projects.
https://github.com/birdnet-team/birdnetr

Category: Biosphere
Sub Category: Bioacoustics and Acoustic Data Analysis

Keywords

bioacoustics birds sound

Last synced: about 2 hours ago
JSON representation

Repository metadata

This is a wrapper for the birdnet Python package for automated bird sound ID

README.md

birdnetR

Lifecycle: experimental
R-CMD-check

birdnetR integrates BirdNET, a state‐of‐the‐art deep learning classifier for automated (bird) sound identification, into an R-workflow.
This package will simplify the analysis of (large) bioacoustic datasets from bioacoustic projects, allowing researchers to easily apply machine learning techniques—even without a background in computer science.

birdnetR is an R wrapper around the birdnet Python package. It provides the core functionality to analyze audio using the pre-trained 'BirdNET' model or a custom classifier, and to predict bird species occurrence based on location and week of the year.
However, it does not include all the advanced features available in the BirdNET Analyzer. For advanced applications, such as training custom classifiers and validation, users should use the 'BirdNET Analyzer' directly.
birdnetR is under active development, and changes may affect existing workflows.

Installation

Install the released version from CRAN:

install.packages("birdnetR")
pak::pak("birdnet-team/birdnetR")

## Example use

This is a simple example using the `tflite` BirdNET model to predict species in an audio file.

```r
# Load the package
library(birdnetR)

# Initialize a BirdNET model
model <- birdnet_model_tflite()

# Path to the audio file (replace with your own file path)
audio_path <- system.file("extdata", "soundscape.mp3", package = "birdnetR")

# Predict species within the audio file
predictions <- predict_species_from_audio_file(model, audio_path)

# Get most probable prediction within each time interval
get_top_prediction(predictions)

Citation

Feel free to use birdnetR for your acoustic analyses and research. If you do, please cite as:

@article{kahl2021birdnet,
  title={BirdNET: A deep learning solution for avian diversity monitoring},
  author={Kahl, Stefan and Wood, Connor M and Eibl, Maximilian and Klinck, Holger},
  journal={Ecological Informatics},
  volume={61},
  pages={101236},
  year={2021},
  publisher={Elsevier}
}

License

Please ensure you review and adhere to the specific license terms provided with each model. Note that educational and research purposes are considered non-commercial use cases.

Funding

This project is supported by Jake Holshuh (Cornell class of '69) and The Arthur Vining Davis Foundations. Our work in the K. Lisa Yang Center for Conservation Bioacoustics is made possible by the generosity of K. Lisa Yang to advance innovative conservation technologies to inspire and inform the conservation of wildlife and habitats.

The development of BirdNET is supported by the German Federal Ministry of Education and Research through the project “BirdNET+” (FKZ 01|S22072). The German Federal Ministry for the Environment, Nature Conservation and Nuclear Safety contributes through the “DeepBirdDetect” project (FKZ 67KI31040E). In addition, the Deutsche Bundesstiftung Umwelt supports BirdNET through the project “RangerSound” (project 39263/01).

Partners

BirdNET is a joint effort of partners from academia and industry.
Without these partnerships, this project would not have been possible.
Thank you!

Our partners


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 5 days ago

Total Commits: 167
Total Committers: 4
Avg Commits per committer: 41.75
Development Distribution Score (DDS): 0.24

Commits in past year: 166
Committers in past year: 3
Avg Commits per committer in past year: 55.333
Development Distribution Score (DDS) in past year: 0.235

Name Email Commits
fegue f****r@g****m 127
Sunny Tseng s****g@g****m 24
Stefan Kahl k****t@h****e 15
Melissa Weidlich-Rau 1****x 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 24
Total pull requests: 14
Average time to close issues: 23 days
Average time to close pull requests: 8 days
Total issue authors: 3
Total pull request authors: 2
Average comments per issue: 1.08
Average comments per pull request: 1.29
Merged pull request: 13
Bot issues: 0
Bot pull requests: 0

Past year issues: 24
Past year pull requests: 14
Past year average time to close issues: 23 days
Past year average time to close pull requests: 8 days
Past year issue authors: 3
Past year pull request authors: 2
Past year average comments per issue: 1.08
Past year average comments per pull request: 1.29
Past year merged pull request: 13
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/birdnet-team/birdnetr

Top Issue Authors

  • fegue (21)
  • vjjan91 (2)
  • jaymwin (1)

Top Pull Request Authors

  • fegue (12)
  • SunnyTseng (2)

Top Issue Labels

  • enhancement (2)

Top Pull Request Labels


Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.5.0 composite
  • actions/checkout v4 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • reticulate * imports
  • knitr * suggests
  • rmarkdown * suggests
  • testthat >= 3.0.0 suggests

Score: 4.564348191467836