Freigeben über


ICustomVisionTrainingClient.CreateImagesFromUrlsWithHttpMessagesAsync Methode

Definition

Fügen Sie den Trainingsbildern die bereitgestellten Bilder-URLs hinzu.

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))

Parameter

projectId
Guid

Die Projekt-ID.

batch
ImageUrlCreateBatch

Bild-URLs und Tag-IDs. Beschränkt auf 64 Bilder und 20 Tags pro Batch.

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Diese API akzeptiert eine Gruppe mit URLs (und optional mit Tags) für die Bilderstellung. Die Grenzwerte für die maximale Anzahl liegen bei 64 Bildern und 20 Tags.

Gilt für: