ailiaSpeechOpenDiarizationFileA method
Set AI model for speaker diarization (MBSC)
Parameters:
net: A network instance pointersegmentation_path: The path name to the onnx file (MBSC)embedding_path: The path name to the onnx file (MBSC)type: AILIA_SPEECH_DIARIZATION_TYPE_PYANNOTE_AUDIO
Returns:
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.
Implementation
int ailiaSpeechOpenDiarizationFileA(
ffi.Pointer<AILIASpeech> net,
ffi.Pointer<ffi.Char> segmentation_path,
ffi.Pointer<ffi.Char> embedding_path,
int type,
) {
return _ailiaSpeechOpenDiarizationFileA(
net,
segmentation_path,
embedding_path,
type,
);
}