共用方式為


ICustomVisionTrainingClient.GetUntaggedImagesWithHttpMessagesAsync Method

Definition

Get untagged images for a given project iteration.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Image>>> GetUntaggedImagesWithHttpMessagesAsync (Guid projectId, Guid? iterationId = default, string orderBy = default, int? take = 50, int? skip = 0, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUntaggedImagesWithHttpMessagesAsync : Guid * Nullable<Guid> * string * Nullable<int> * Nullable<int> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Image>>>
Public Function GetUntaggedImagesWithHttpMessagesAsync (projectId As Guid, Optional iterationId As Nullable(Of Guid) = Nothing, Optional orderBy As String = Nothing, Optional take As Nullable(Of Integer) = 50, Optional skip As Nullable(Of Integer) = 0, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of IList(Of Image)))

Parameters

projectId
Guid

The project id.

iterationId
Nullable<Guid>

The iteration id. Defaults to workspace.

orderBy
String

The ordering. Defaults to newest. Possible values include: 'Newest', 'Oldest'

take
Nullable<Int32>

Maximum number of images to return. Defaults to 50, limited to 256.

skip
Nullable<Int32>

Number of images to skip before beginning the image batch. Defaults to 0.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

This API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch.

Applies to