Partilhar via


ICustomVisionTrainingClient.CreateImagesFromFilesWithHttpMessagesAsync Método

Definição

Adicione o lote de imagens fornecido ao conjunto de imagens de treinamento.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageCreateSummary>> CreateImagesFromFilesWithHttpMessagesAsync (Guid projectId, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageFileCreateBatch batch, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateImagesFromFilesWithHttpMessagesAsync : Guid * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageFileCreateBatch * 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 CreateImagesFromFilesWithHttpMessagesAsync (projectId As Guid, batch As ImageFileCreateBatch, 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
ImageFileCreateBatch

O lote de arquivos de imagem a serem adicionados. 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 arquivos e, opcionalmente, marcas para criar imagens. Há um limite de 64 imagens e 20 marcações.

Aplica-se a