共用方式為


CustomVisionTrainingClientExtensions.QuickTestImageAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImagePrediction> QuickTestImageAsync (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, System.IO.Stream imageData, Guid? iterationId = default, bool? store = True, System.Threading.CancellationToken cancellationToken = default);
static member QuickTestImageAsync : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * System.IO.Stream * Nullable<Guid> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImagePrediction>
<Extension()>
Public Function QuickTestImageAsync (operations As ICustomVisionTrainingClient, projectId As Guid, imageData As Stream, Optional iterationId As Nullable(Of Guid) = Nothing, Optional store As Nullable(Of Boolean) = True, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ImagePrediction)

Parameters

projectId
Guid
imageData
Stream
iterationId
Nullable<Guid>
store
Nullable<Boolean>
cancellationToken
CancellationToken

Returns

Applies to