BirdNET-Analyzer icon indicating copy to clipboard operation
BirdNET-Analyzer copied to clipboard

Default segement size 3s. How to increase?

Open Guillermouceda opened this issue 8 months ago • 2 comments

Hello,

I am new to Bird-Net analyzer. If I am not mistaken the default segment size that the model uses is 3s. I was using the model with the GUI but we realised that the model was missing some bird species within the same time window as they were singing in chorus. Moreover, it seemed to be not very accurately detecting some bird with longer songs. Therefore, I thought of increasing the segment window from 3s to 5s.

How is this done with this functionality?

python3 -m birdnet_analyzer.analyze

I read somewhere that this could only be done if you use the model with the command line. I have installed it on Ubuntu (within WSL) but I don't see any flag to adjust the segment size. Should I be modifying the overlap parameter from zero to 2 ?

Moreover, after the analysis is done I wanted to manually validate some of the assignments to get a confidence threshold above which the model is always correct, similar to that done by Wood et al. 2020 (I think this the correct citation ). Do I need to increase the segment size also during the segmentation of the songs ? This is the function I will using for doing so:

birdnet_analyzer.segments

here I saw the --segment-length flag

Should I first segment the songs and then use the python3 -m birdnet_analyzer.analyze? or How should I approach the analysis?

Than you very much in advance and thank you for developing this tool!!!

Guillermouceda avatar Feb 24 '25 15:02 Guillermouceda