Freigeben über


ICustomVisionTrainingClient.CreateImageRegionsWithHttpMessagesAsync Methode

Definition

Erstellen Sie eine Reihe von Imagebereichen.

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

Parameter

projectId
Guid

Die Projekt-ID.

batch
ImageRegionCreateBatch

Batch von Bildbereichen, die ein Tag und ein Begrenzungsfeld enthalten. Limitiert auf 64.

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 Bildregionen (und optional mit Tags), um vorhandene Bilder mit Regionsinformationen zu aktualisieren. Es gibt eine Grenze von 64 Einträgen im Batch.

Gilt für: