mcguirepr89 / BirdNET-Pi

A realtime acoustic bird classification system for the Raspberry Pi 4B, 3B+, and 0W2 built on the TFLite version of BirdNET.
Other
1.28k stars 136 forks source link

Time and Date mismatched for detections #1168

Open pafernandez19 opened 5 months ago

pafernandez19 commented 5 months ago

Describe the bug The time and date entered in Basic Settings is correct but the Date-time output for detections is mismatched.

To Reproduce

  1. Click Tools -> Settings
  2. Scroll to Time and Date and confirmed correct
  3. Click View Log to observe mismatched date-time

Expected behavior Date time in system settings to match detection date time.

Screenshots image

Your build RaspberryPi 4B

Code or log snippets

11:11:52---Date-time: 2024-03-19 09:48:17
11:11:54---0.0;3.0-("Calypte anna_Anna's Hummingbird", 0.4054089)
11:11:54---3.0;6.0-('Human_Human', 0.0)
11:11:54---6.0;9.0-('Parus minor_Japanese Tit', 0.096898735)
11:11:54---9.0;12.0-('Human_Human', 0.0)
11:11:54---12.0;15.0-('Tadorna ferruginea_Ruddy Shelduck', 0.41732666)
11:11:54---RECORDING_LENGTH set to 15
11:11:54---BirdNET-Pi/birdnet/bin/python3 BirdNET-Pi/scripts/analyze.py --i BirdSongs/March-2024/19-Tuesday/2024-03-19-birdnet-09:48:32.wav --o BirdSongs/March-2024/19-Tuesday/2024-03-19-birdnet-09:48:32.wav.csv --lat 38.XX --lon -121.XX --week 11 --overlap 0.0 --sensitivity 1.25 --min_conf 0.7 --birdweather_id "IN_USE"
11:11:54---ANALYZING AUDIO... DONE! Time 1.7 SECONDS
11:11:54---WRITING RESULTS TO BirdSongs/March-2024/19-Tuesday/2024-03-19-birdnet-09:48:17.wav.csv ... DONE! WROTE 0 RESULTS.
11:11:55---READING AUDIO DATA... DONE! READ 5 CHUNKS.
11:11:55---Date-time: 2024-03-19 09:48:32
Svardsten53 commented 5 months ago

You seem to have a backlog of analysis. This can be seen from the fact that there is no pause between each audio file that is analyzed. Normally it should be around ten secounds. So there are many audio files in the queue waiting for analysis. I know another installation that has the same problem at times when there are many birds chirping at the same time. Work is going on there to try to solve the problem and if a solution is found I will try to remember to update here.