다음을 통해 공유


CustomVisionTrainingClientExtensions.GetTaggedImageCountWithHttpMessages Method

Definition

Gets the number of images tagged with the provided {tagIds}.

public static Microsoft.Rest.HttpOperationResponse<int?> GetTaggedImageCountWithHttpMessages (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Guid? iterationId = default, System.Collections.Generic.IList<Guid> tagIds = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default);
static member GetTaggedImageCountWithHttpMessages : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Nullable<Guid> * System.Collections.Generic.IList<Guid> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> -> Microsoft.Rest.HttpOperationResponse<Nullable<int>>
<Extension()>
Public Function GetTaggedImageCountWithHttpMessages (operations As ICustomVisionTrainingClient, projectId As Guid, Optional iterationId As Nullable(Of Guid) = Nothing, Optional tagIds As IList(Of Guid) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing) As HttpOperationResponse(Of Nullable(Of Integer))

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The project id.

iterationId
Nullable<Guid>

The iteration id. Defaults to workspace.

tagIds
IList<Guid>

A list of tags ids to filter the images to count. Defaults to all tags when null.

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request.

Returns

Remarks

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