다음을 통해 공유


CustomVisionTrainingClientExtensions.GetTaggedImageCount Method

Definition

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

public static int? GetTaggedImageCount (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Guid? iterationId = default, System.Collections.Generic.IList<Guid> tagIds = default);
static member GetTaggedImageCount : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Nullable<Guid> * System.Collections.Generic.IList<Guid> -> Nullable<int>
<Extension()>
Public Function GetTaggedImageCount (operations As ICustomVisionTrainingClient, projectId As Guid, Optional iterationId As Nullable(Of Guid) = Nothing, Optional tagIds As IList(Of Guid) = Nothing) As 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.

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