adjusted birdnet_stats.sh for spectrograms per extraction

This commit is contained in:
Patrick McGuire
2021-10-09 10:17:33 -04:00
parent 16c61fcc48
commit 7328c5792e
+1 -1
View File
@@ -74,7 +74,7 @@ EOF
MAX_SCORE="$(echo "${MAX_SCORE[@]}" | rev |cut -d"-" -f1|rev | sort -r | head -n1)"
# Set noun-plurality agreement for grammar
DETECTIONS="$(ls -1 ${EXTRACTED}/By_Date/*/${SPECIES} | wc -l)"
DETECTIONS="$(($(ls -1 ${EXTRACTED}/By_Date/*/${SPECIES} | wc -l)/2))"
if [ ${DETECTIONS} = 1 ];then
verbage=detection
else