共用方式為


CustomVisionTrainingClientExtensions.GetImagesByIds Method

Definition

Get images by id for a given project iteration.

public static System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Image> GetImagesByIds (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, System.Collections.Generic.IList<Guid> imageIds = default, Guid? iterationId = default);
static member GetImagesByIds : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * System.Collections.Generic.IList<Guid> * Nullable<Guid> -> System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Image>
<Extension()>
Public Function GetImagesByIds (operations As ICustomVisionTrainingClient, projectId As Guid, Optional imageIds As IList(Of Guid) = Nothing, Optional iterationId As Nullable(Of Guid) = Nothing) As IList(Of Image)

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The project id.

imageIds
IList<Guid>

The list of image ids to retrieve. Limited to 256.

iterationId
Nullable<Guid>

The iteration id. Defaults to workspace.

Returns

Remarks

This API will return a set of Images for the specified tags and optionally iteration. If no iteration is specified the current workspace is used.

Applies to