CustomVisionTrainingClientExtensions.GetTaggedImageCountAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of images tagged with the provided {tagIds}.
public static System.Threading.Tasks.Task<int?> GetTaggedImageCountAsync (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Guid? iterationId = default, System.Collections.Generic.IList<Guid> tagIds = default, System.Threading.CancellationToken cancellationToken = default);
static member GetTaggedImageCountAsync : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Nullable<Guid> * System.Collections.Generic.IList<Guid> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Nullable<int>>
<Extension()>
Public Function GetTaggedImageCountAsync (operations As ICustomVisionTrainingClient, projectId As Guid, Optional iterationId As Nullable(Of Guid) = Nothing, Optional tagIds As IList(Of Guid) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Nullable(Of Integer))
Parameters
- operations
- ICustomVisionTrainingClient
The operations group for this extension method.
- projectId
- Guid
The project id.
A list of tags ids to filter the images to count. Defaults to all tags when null.
- cancellationToken
- CancellationToken
The cancellation token.
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for