Compartilhar via


CustomVisionTrainingClientExtensions.CreateImagesFromUrlsAsync Método

Definição

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

public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageCreateSummary> CreateImagesFromUrlsAsync (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageUrlCreateBatch batch, System.Threading.CancellationToken cancellationToken = default);
static member CreateImagesFromUrlsAsync : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageUrlCreateBatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageCreateSummary>
<Extension()>
Public Function CreateImagesFromUrlsAsync (operations As ICustomVisionTrainingClient, projectId As Guid, batch As ImageUrlCreateBatch, 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
ImageUrlCreateBatch

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

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