Dela via


SpeakerRecognizer.RecognizeOnceAsync Method

Definition

Overloads

RecognizeOnceAsync(SpeakerIdentificationModel)

Identify the speakers in the speaker identification model as an asynchronous operation.

RecognizeOnceAsync(SpeakerVerificationModel)

Verify the speaker in the speaker verification model as an asynchronous operation.

RecognizeOnceAsync(SpeakerIdentificationModel)

Identify the speakers in the speaker identification model as an asynchronous operation.

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)

Parameters

model
SpeakerIdentificationModel

A speaker identification model.

Returns

An asynchronous operation representing identifying the speakers in the model.

Applies to

RecognizeOnceAsync(SpeakerVerificationModel)

Verify the speaker in the speaker verification model as an asynchronous operation.

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)

Parameters

model
SpeakerVerificationModel

A SpeakerVerificationModel.

Returns

An asynchronous operation representing verifying the speaker in the model.

Applies to