Condividi tramite


CustomVisionPredictionClientExtensions.ClassifyImageWithHttpMessages Method

Definition

public static Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.Models.ImagePrediction> ClassifyImageWithHttpMessages (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.ICustomVisionPredictionClient operations, Guid projectId, string publishedName, System.IO.Stream imageData, string application = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default);
static member ClassifyImageWithHttpMessages : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.ICustomVisionPredictionClient * Guid * string * System.IO.Stream * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> -> Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.Models.ImagePrediction>
<Extension()>
Public Function ClassifyImageWithHttpMessages (operations As ICustomVisionPredictionClient, projectId As Guid, publishedName As String, imageData As Stream, Optional application As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing) As HttpOperationResponse(Of ImagePrediction)

Parameters

projectId
Guid
publishedName
String
imageData
Stream
application
String
customHeaders
Dictionary<String,List<String>>

Returns

Applies to