Compartilhar via


CustomVisionTrainingClientExtensions.CreateImagesFromFilesAsync Método

Definição

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

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageCreateSummary> CreateImagesFromFilesAsync (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageFileCreateBatch batch, System.Threading.CancellationToken cancellationToken = default);
static member CreateImagesFromFilesAsync : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageFileCreateBatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageCreateSummary>
<Extension()>
Public Function CreateImagesFromFilesAsync (operations As ICustomVisionTrainingClient, projectId As Guid, batch As ImageFileCreateBatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ImageCreateSummary)

Parâmetros

operations
ICustomVisionTrainingClient

O grupo de operações para esse método de extensão.

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.

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