Detection
detection sub-module within the ketos.neural_networks.dev_utils module
This module provides auxiliary functions to incorporate pre-trained ketos classifiers models into detection tools
Contents:
|
This function calculates the running average of a given list of scores, over a defined window size. |
|
Loads HDF5 data in batches from a specified file and yields it for processing. |
|
This function generates batches of audio data from a given AudioFrameLoader. |
|
Add a buffer to each detection in the DataFrame. |
|
Filters out detection scores below or at a specified threshold and returns a list of tuples, where each tuple consists of a label (the index of the score) and the score itself. |
|
Filters out detection scores below a specified threshold and returns a DataFrame with the remaining detections. |
|
Converts a sequence of scores into a snapshot of events that exceed a threshold. |
|
Filters the input DataFrame by specified label(s). |
|
Merge overlapping or adjacent detections with the same label. |
|
Merges consecutive detections in the given dataframe. |