你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CustomVisionTrainingClientExtensions.GetTaggedImageCountWithHttpMessages 方法

定义

获取使用提供的 {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))

参数

operations
ICustomVisionTrainingClient

此扩展方法的操作组。

projectId
Guid

项目 ID。

iterationId
Nullable<Guid>

迭代 ID。默认为工作区。

tagIds
IList<Guid>

用于筛选要计数的图像的标记 ID 列表。 默认值为 null 时的所有标记。

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

返回

注解

筛选依据为某个字词和/或关系。 例如,如果提供的标记 ID 适用于“Dog”和“Cat”标记,则仅返回标记有 Dog 和/或 Cat 的图像

适用于