Udostępnij za pośrednictwem


CustomVisionTrainingClientExtensions.CreateImagesFromFiles Method

Definition

Add the provided batch of images to the set of training images.

public static Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageCreateSummary CreateImagesFromFiles (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageFileCreateBatch batch);
static member CreateImagesFromFiles : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageFileCreateBatch -> Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageCreateSummary
<Extension()>
Public Function CreateImagesFromFiles (operations As ICustomVisionTrainingClient, projectId As Guid, batch As ImageFileCreateBatch) As ImageCreateSummary

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The project id.

batch
ImageFileCreateBatch

The batch of image files to add. Limited to 64 images and 20 tags per batch.

Returns

Remarks

This API accepts a batch of files, and optionally tags, to create images. There is a limit of 64 images and 20 tags.

Applies to