Minimum feasible processing time #22
Replies: 2 comments 2 replies
-
Hi and thanks for chiming in! In current code there is a sliding window buffer which processes audio data in 1.5 second chunks to increase detection success rate, because of this processing times should be less than 1500ms to keep up. This can be changed for lower spec systems: internal/myaudio/buffers.go line 19, change "var overlapSize int = 144000" to "var overlapSize int = 0" to disable sliding window. With this change your hardware should keep up with realtime processing. |
Beta Was this translation helpful? Give feedback.
-
Great, that seems to work, thanks! The code looks very clean and well commented. |
Beta Was this translation helpful? Give feedback.
-
Hi!
So I had an extra "Orange Pi Zero" lying around, and thought maybe it's just powerful enough to run birdnet-go. Took me quite long to get tf-lite to compile (it's an ARM 7 32 bit CPU), but now it works. However the processing time for 3 sec segments is about 2300-2500 ms. Is anything below 3000 ms still ok? It seems to react quite slow, I wonder if it's getting behind on analyzing?
Cheers
Beta Was this translation helpful? Give feedback.
All reactions