Skip to content
Wildlife Network
Help

Help / Wildlife Network Studio

Bat recordings

BatDetect2 for UK bats, and listening to calls slowed down.

BatDetect2 runs on ultrasonic recordings, made at 192 kHz or more. It finds each echolocation call and names 17 UK bat species. It is for non-commercial use only.

Make the BatDetect2 files

BatDetect2's authors publish the model only in their own Python package, and asked us not to host a copy, so that there is one up-to-date source. You make Studio's three files from it once. This needs Python 3 and a few typed commands. Ask a colleague who has done it if this is new to you.

  1. Download the Studio source code and unzip it.
  2. Open a terminal in its crates/batdetect2 folder.
  3. Run python3 -m venv bd2, then . bd2/bin/activate, then pip install batdetect2==2.0.0b3 onnx.
  4. Run python -I python/export_model.py batdetect2. This makes a batdetect2 folder with three files.

Use it

  1. On Find species choose Add model files from a folder and pick the batdetect2 folder.
  2. Add your bat recordings and set their place as usual.
  3. Find species runs BatDetect2 on bat recordings by itself.

In Review, bat clips play 10 times slower so the calls can be heard.

Tip: BatDetect2 was trained on UK bats. Outside the UK, treat its names as a first guess and review carefully.

Please cite BatDetect2 when you share bat results. Mac Aodha et al. (2022), Towards a General Approach for Bat Echolocation Detection and Classification, bioRxiv (paper, source). Studio adds this to your exports. The part of Studio that runs BatDetect2 is under BatDetect2's own licence, CC BY-NC 4.0, so it is for non-commercial use only.

Still stuck, or is something here wrong? Tell us and we will help, and fix the guide.