A live bird collage card for your Home Assistant dashboard.
Update analyze.py
mcguirepr891c4015c50746
diff --git a/analyze.py b/analyze.pyindex eace386d..9f1dcb60 100644--- a/analyze.py+++ b/analyze.py@@ -1,4 +1,3 @@-import osos.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'os.environ['CUDA_VISIBLE_DEVICES'] = ''@@ -218,6 +217,9 @@ def main():# Write detections to output filemin_conf = max(0.01, min(args.min_conf, 0.99))writeResultsToFile(detections, min_conf, args.o)+ for i in detections:+ print("\n", detections[i][0],"\n")+if __name__ == '__main__':@@ -225,4 +227,4 @@ if __name__ == '__main__':# Example calls# python3 analyze.py --i 'example/XC558716 - Soundscape.mp3' --lat 35.4244 --lon -120.7463 --week 18- # python3 analyze.py --i 'example/XC563936 - Soundscape.mp3' --lat 47.6766 --lon -122.294 --week 11 --overlap 1.5 --min_conf 0.25 --sensitivity 1.25 --custom_list 'example/custom_species_list.txt'\ No newline at end of file+ # python3 analyze.py --i 'example/XC563936 - Soundscape.mp3' --lat 47.6766 --lon -122.294 --week 11 --overlap 1.5 --min_conf 0.25 --sensitivity 1.25 --custom_list 'example/custom_species_list.txt'