Examples
Extract detections as audio file samples and/or spectrograms
Supports audio extractions as .flac, .wav and .mp3. Spectrograms exported as .png, .jpg, or other matplotlib.pyplot supported formats. Can be filtered to only extract files above a separate minimum confidence value.
Download and analyzer an audio file from a URL
Analyze an entire directory with multithreading support
Watch a directory and analyze files as they are added
On Linux, record live audio and analyze in 3 sec segments
Note: arecord
only works on Linux.
Limit detections to certain species by passing a predefined species list to the analyzer
Useful when searching for a particular set of bird detections.
Analyze an audio stream in realtime using RecordingBuffer class
Watch a directory for new files, then analyze with both analyzer models as files are saved
This example can also be used to modify lat/lon, min_conf, etc., based on file name prior to analyzing.