共用方式為


CustomVisionTrainingClientExtensions.CreateImagesFromPredictionsAsync Method

Definition

Add the specified predicted images to the set of training images.

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

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The project id.

batch
ImageIdCreateBatch

Image and tag ids. Limted to 64 images and 20 tags per batch.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

This API creates a batch of images from predicted images specified. There is a limit of 64 images and 20 tags.

Applies to