A live bird collage card for your Home Assistant dashboard.
make 2.4 the default model
ehpersonal38d47719a4438d
diff --git a/birdnet.conf-defaults b/birdnet.conf-defaultsindex 58a30fda..ee3c2709 100644--- a/birdnet.conf-defaults+++ b/birdnet.conf-defaults@@ -11,7 +11,7 @@ SITE_NAME=""#______________________used for detecting bird audio.__________________________##_It's recommended that you only change these values through the web interface.#-MODEL=BirdNET_6K_GLOBAL_MODEL+MODEL=BirdNET_GLOBAL_6K_V2.4_Model_FP16SF_THRESH=0.03#--------------------- Required: Latitude, and Longitude ----------------------#diff --git a/scripts/config.php b/scripts/config.phpindex e8d422af..5172af26 100644--- a/scripts/config.php+++ b/scripts/config.php@@ -366,7 +366,7 @@ function sendTestNotification(e) {<label for="model">Select a Model: </label><select id="modelsel" name="model"><?php- $models = array("BirdNET_6K_GLOBAL_MODEL", "BirdNET_GLOBAL_6K_V2.4_Model_FP16");+ $models = array("BirdNET_GLOBAL_6K_V2.4_Model_FP16", "BirdNET_6K_GLOBAL_MODEL");foreach($models as $modelName){$isSelected = "";if($config['MODEL'] == $modelName){@@ -480,11 +480,14 @@ function runProcess() {</script><dl>- <dt>BirdNET_6K_GLOBAL_MODEL (2020)</dt><br>- <dd id="ddnewline">This is the BirdNET-Lite model, with bird sound recognition for more than 6,000 species worldwide. This is the default option and will generally work very for people in most of the world.</dd>- <br>- <dt>BirdNET_GLOBAL_6K_V2.4_Model_FP16 (2023)</dt><br>- <dd id="ddnewline">This is the BirdNET-Analyzer model, a newer work-in-progress project with aims to improve on the BirdNET-Lite model. Currently it only supports about 3,500 species worldwide, meaning for some regions (North America, Europe, Australia) it will usually outperform the BirdNET-Lite model, but for other regions it will be worse.</dd><br>+ <dt>BirdNET_GLOBAL_6K_V2.4_Model_FP16 (2023)</dt>+ <br>+ <dd id="ddnewline">This is the BirdNET-Analyzer model, the most advanced BirdNET model to date. Currently it supports over 6,000 species worldwide, giving quite good species coverage for people in most of the world.</dd>+ <br>+ <dt>BirdNET_6K_GLOBAL_MODEL (2020)</dt>+ <br>+ <dd id="ddnewline">This is the BirdNET-Lite model, with bird sound recognition for more than 6,000 species worldwide. This has generally worse performance than the newer models but is kept as a legacy option.</dd>+ <br><dt>[ In-depth technical write-up on the models <a target="_blank" href="https://github.com/mcguirepr89/BirdNET-Pi/wiki/BirdNET-Pi:-some-theory-on-classification-&-some-practical-hints">here</a> ]</dt></dl></td></tr></table><br>diff --git a/scripts/install_birdnet.sh b/scripts/install_birdnet.shindex 598b2249..74e4b42e 100755--- a/scripts/install_birdnet.sh+++ b/scripts/install_birdnet.sh@@ -37,6 +37,6 @@ install_birdnetcd $my_dir/scripts || exit 1-./install_language_label.sh -l $DATABASE_LANG || exit 1+./install_language_label_nm.sh -l $DATABASE_LANG || exit 1exit 0