Coverage for src/bob/bio/spear/config/annotator/energy_2gauss.py: 100%
3 statements
« prev ^ index » next coverage.py v7.3.2, created at 2023-12-06 22:04 +0100
« prev ^ index » next coverage.py v7.3.2, created at 2023-12-06 22:04 +0100
1#!/usr/bin/env python
2"""Configuration for the Voice Activity Detection (VAD) annotator Energy 2Gauss
4This annotator returns a mask (boolean array) of an audio signal, with ones where a
5voice is detected, and zeroes otherwise.
7Uses 2 Gaussian-modeled Energy.
9Usage
10-----
12Feed this file (also defined as a ``energy-2gauss`` resource) to ``bob bio annotate`` as
13configuration::
15 $ bob bio annotate -a energy-2gauss -d <database> -o annotations/
17or include it in a pipeline.
18"""
20from bob.bio.spear.annotator import Energy_2Gauss
22annotator = Energy_2Gauss()