ICustomVisionTrainingClient.GetImagePerformancesWithHttpMessagesAsync Method

Definition

Overloads

GetImagePerformancesWithHttpMessagesAsync(Guid, Guid, IList<String>, String, Nullable<Int32>, Nullable<Int32>, Dictionary<String,List<String>>, CancellationToken)

Get image with its prediction for a given project iteration.

GetImagePerformancesWithHttpMessagesAsync(Guid, Guid, IList<Guid>, String, Nullable<Int32>, Nullable<Int32>, Dictionary<String,List<String>>, CancellationToken)

Get image with its prediction for a given project iteration.

GetImagePerformancesWithHttpMessagesAsync(Guid, Guid, IList<String>, String, Nullable<Int32>, Nullable<Int32>, Dictionary<String,List<String>>, CancellationToken)

Get image with its prediction for a given project iteration.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImagePerformance>>> GetImagePerformancesWithHttpMessagesAsync (Guid projectId, Guid iterationId, System.Collections.Generic.IList<string> tagIds = default, string orderBy = default, int? take = 50, int? skip = 0, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetImagePerformancesWithHttpMessagesAsync : Guid * Guid * System.Collections.Generic.IList<string> * string * Nullable<int> * Nullable<int> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImagePerformance>>>
Public Function GetImagePerformancesWithHttpMessagesAsync (projectId As Guid, iterationId As Guid, Optional tagIds As IList(Of String) = Nothing, Optional orderBy As String = Nothing, Optional take As Nullable(Of Integer) = 50, Optional skip As Nullable(Of Integer) = 0, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of IList(Of ImagePerformance)))

Parameters

projectId
System.Guid

The project id.

iterationId
System.Guid

The iteration id. Defaults to workspace.

tagIds
System.Collections.Generic.IList<System.String>

A list of tags ids to filter the images. Defaults to all tagged images when null. Limited to 20.

orderBy
System.String

The ordering. Defaults to newest. Possible values include: 'Newest', 'Oldest'

take
System.Nullable<System.Int32>

Maximum number of images to return. Defaults to 50, limited to 256.

skip
System.Nullable<System.Int32>

Number of images to skip before beginning the image batch. Defaults to 0.

customHeaders
System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.List<System.String>>

The headers that will be added to request.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<HttpOperationResponse<System.Collections.Generic.IList<ImagePerformance>>>

Remarks

This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned

Applies to

GetImagePerformancesWithHttpMessagesAsync(Guid, Guid, IList<Guid>, String, Nullable<Int32>, Nullable<Int32>, Dictionary<String,List<String>>, CancellationToken)

Get image with its prediction for a given project iteration.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImagePerformance>>> GetImagePerformancesWithHttpMessagesAsync (Guid projectId, Guid iterationId, System.Collections.Generic.IList<Guid> tagIds = default, string orderBy = default, int? take = 50, int? skip = 0, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetImagePerformancesWithHttpMessagesAsync : Guid * Guid * System.Collections.Generic.IList<Guid> * string * Nullable<int> * Nullable<int> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImagePerformance>>>
Public Function GetImagePerformancesWithHttpMessagesAsync (projectId As Guid, iterationId As Guid, Optional tagIds As IList(Of Guid) = Nothing, Optional orderBy As String = Nothing, Optional take As Nullable(Of Integer) = 50, Optional skip As Nullable(Of Integer) = 0, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of IList(Of ImagePerformance)))

Parameters

projectId
System.Guid

The project id.

iterationId
System.Guid

The iteration id. Defaults to workspace.

tagIds
System.Collections.Generic.IList<System.Guid>

A list of tags ids to filter the images. Defaults to all tagged images when null. Limited to 20.

orderBy
System.String

The ordering. Defaults to newest. Possible values include: 'Newest', 'Oldest'

take
System.Nullable<System.Int32>

Maximum number of images to return. Defaults to 50, limited to 256.

skip
System.Nullable<System.Int32>

Number of images to skip before beginning the image batch. Defaults to 0.

customHeaders
System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.List<System.String>>

The headers that will be added to request.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<HttpOperationResponse<System.Collections.Generic.IList<ImagePerformance>>>

Remarks

This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned

Applies to