Coverage for src/bob/bio/spear/config/annotator/mod_4hz.py: 100%

3 statements  

« 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 Mod-4hz 

3 

4This annotator returns a mask (boolean array) of an audio signal, with ones where a 

5voice is detected, and zeroes otherwise. 

6 

7Uses 4Hz modulation energy 

8 

9Usage 

10----- 

11 

12Feed this file (also defined as a ``mod-4hz`` resource) to ``bob bio annotate`` as 

13configuration:: 

14 

15 $ bob bio annotate -a mod-4hz -d <database> -o annotations/ 

16 

17or include it in a pipeline. 

18""" 

19 

20from bob.bio.spear.annotator import Mod_4Hz 

21 

22annotator = Mod_4Hz()