你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SpeakerRecognizer.RecognizeOnceAsync 方法

定义

重载

RecognizeOnceAsync(SpeakerIdentificationModel)

将说话人识别模型中的说话人标识为异步操作。

RecognizeOnceAsync(SpeakerVerificationModel)

将说话人验证模型中的说话人验证为异步操作。

RecognizeOnceAsync(SpeakerIdentificationModel)

将说话人识别模型中的说话人标识为异步操作。

public System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.Speaker.SpeakerRecognitionResult> RecognizeOnceAsync (Microsoft.CognitiveServices.Speech.Speaker.SpeakerIdentificationModel model);
member this.RecognizeOnceAsync : Microsoft.CognitiveServices.Speech.Speaker.SpeakerIdentificationModel -> System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.Speaker.SpeakerRecognitionResult>
Public Function RecognizeOnceAsync (model As SpeakerIdentificationModel) As Task(Of SpeakerRecognitionResult)

参数

model
SpeakerIdentificationModel

说话人识别模型。

返回

表示在模型中识别说话人的异步操作。

适用于

RecognizeOnceAsync(SpeakerVerificationModel)

将说话人验证模型中的说话人验证为异步操作。

public System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.Speaker.SpeakerRecognitionResult> RecognizeOnceAsync (Microsoft.CognitiveServices.Speech.Speaker.SpeakerVerificationModel model);
member this.RecognizeOnceAsync : Microsoft.CognitiveServices.Speech.Speaker.SpeakerVerificationModel -> System.Threading.Tasks.Task<Microsoft.CognitiveServices.Speech.Speaker.SpeakerRecognitionResult>
Public Function RecognizeOnceAsync (model As SpeakerVerificationModel) As Task(Of SpeakerRecognitionResult)

参数

model
SpeakerVerificationModel

SpeakerVerificationModel。

返回

表示在模型中验证扬声器的异步操作。

适用于