r/BirdNET_Analyzer • u/newbie4ever0202 • Apr 04 '24
Question BirdNet classifier design
I recently started using the BirdNET and Merlin Bird id apps on my iPhone to identify bird calls during my long walks in Chilterns woods in Southern England. My walks seem a lot more interesting now - I love being able to identify bird calls and trying to do it on my own!
I was wondering how the app works and found that BirdNET code is available at https://github.com/kahst/BirdNET-Analyzer. I am able to get it up & running on my Mac, which was great. I wanted to ask you a fundamental question about how BirdNET works. I understand that this works by converting sound files into a spectogram of 3 second images and comparing the embeddings of these images with the database of all birds. Wondering if you considered an alternative. more straightforward way of generating an embedding of the wav files and comparing them? I did a quick search and found https://github.com/cobanov/audio-embedding for eg - a tool create audio embeddings.
View all comments
Show parent comment
1
u/coloradical5280 Apr 05 '24
They have a blog somewhere in the Cornell/ebird/bidnet/maculary library web world that goes super deep into the weeds on why they made the decisions they did on nearly everything. For instance, Merlin and BirdNET are both Cornell backed and do the same thing but work differently (though both work visually).
In general though I can tell you audio files cannot consistently trusted like the visual output. The self-noise of mics, sound cards, pre-amps, etc are all slightly different. And no bird recording contains ONLY the sound of that bird and nothing else. There are endless variables to control for.
Maybe more importantly, file sizes are larger and that adds up to have a major impact and cost.
Audio embeddings have their place in ML, I mean that’s pretty clear when you look at something like Whisper, but this isn’t one of those cases.