Skip to main content

detect_bioacoustic_vocalizations

Function detect_bioacoustic_vocalizations 

Source
pub fn detect_bioacoustic_vocalizations(
    surface: &TfSurface<'_>,
    threshold_db: f32,
    min_duration_s: f32,
    assigned_taxon_id: u64,
    out: &mut [BioacousticVocalization],
) -> usize
Expand description

Detects acoustic vocalization energy clusters from a TfSurface.

Scans the surface for contiguous time-frames exceeding threshold_db across frequency bins. Populates out with detected call intervals that exceed min_duration_s. Zero-heap hot path.