ICustomVisionTrainingClient.CreateImagesFromUrlsWithHttpMessagesAsync Método

Definição

Adicione as URLs de imagens fornecidas ao conjunto de imagens de treinamento.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageCreateSummary>> CreateImagesFromUrlsWithHttpMessagesAsync (Guid projectId, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageUrlCreateBatch batch, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateImagesFromUrlsWithHttpMessagesAsync : Guid * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageUrlCreateBatch * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageCreateSummary>>
Public Function CreateImagesFromUrlsWithHttpMessagesAsync (projectId As Guid, batch As ImageUrlCreateBatch, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of ImageCreateSummary))

Parâmetros

projectId
Guid

A ID do projeto.

batch
ImageUrlCreateBatch

Urls de imagem e IDs de marca. Limitado a 64 imagens e 20 marcas por lote.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

Essa API aceita um lote de URLs e, opcionalmente, marcas para criar imagens. Há um limite de 64 imagens e 20 marcações.

Aplica-se a