tool¶
speaker identification tool.
Classes
Base class for identification tools. |
- class IdentificationTool(device, overwrite=False, verbose=True)[source]¶
Bases:
Tool
Base class for identification tools.
- Parameters:
device (str)
overwrite (bool)
verbose (bool | int)
- inference(mixed_audio_path, diarization_path, mono_audio_paths, identification_path)[source]¶
Template of the inference method.
- Parameters:
mixed_audio_path (
Union
[str
,Path
]) – Path to the audio track.diarization_path (
Union
[str
,Path
]) – Path to the diarization file.mono_audio_paths (
Sequence
[Union
[str
,Path
]]) – Path to the mono audio tracks.identification_path (
Union
[str
,Path
]) – Path to the identification file.
- Returns: