unpacks the english labels_en.txt as default

This commit is contained in:
mcguirepr89
2022-05-24 17:06:40 -04:00
parent c7bac0fe59
commit 364dd8d683
+7
View File
@@ -31,7 +31,14 @@ install_birdnet() {
pip3 install -U -r $HOME/BirdNET-Pi/requirements.txt
}
unpack_labels() {
unzip $HOME/BirdNET-Pi/model/labels_l18n.zip labels_en.txt \
-d $HOME/BirdNET-Pi/model
mv $HOME/BirdNET-Pi/model/labels_en.txt $HOME/BirdNET-Pi/model/labels.txt
}
[ -d ${RECS_DIR} ] || mkdir -p ${RECS_DIR} &> /dev/null
install_birdnet
unpack_labels
exit 0