kahst / BirdNET-Lite

TFLite version of BirdNET. Bird sound recognition for more than 6,000 species worldwide.
Other
147 stars 195 forks source link

Add configuration options for sox spectrogram creation #19

Open hoover67 opened 2 years ago

hoover67 commented 2 years ago

This patch will add the possibility to add further arguments to sox' spectrogram creation, for instance to create grayscale images, change the spectrogram's size or use a different DFT window algorithm.

Right now this needs to be configured in /etc/birdnet/birdnet.conf using a shell variable, no GUI config possible yet. :-( sox.zip

All the best, Uwe

Affected files: o scripts/spectrogram.sh o scripts/extract_new_birdsongs.sh o birdnet.conf-defaults

EDIT: I had to put the tgz into a zip file because github refused the upload. Sorry for any trouble, it's the first time I contribute to a project using github :-)

DD4WH commented 2 years ago

Uwe, are you sure you want to merge this into the BirdNET-Lite repo ? Or did you mean the BirdNET-Pi repo by Patrick ?

hoover67 commented 2 years ago

Yep, it was meant for Patrick's repo but my github-fu is too weak to create a proper pull request there, so sorry for the trouble and bothering you.

I created a comment / discussion over at Patrick's repo outlining the changes.

All the best, Uwe