CustomVisionTrainingClientExtensions.CreateImagesFromDataWithHttpMessages Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add the provided images to the set of training images.
public static Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageCreateSummary> CreateImagesFromDataWithHttpMessages (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, System.IO.Stream imageData, System.Collections.Generic.IList<Guid> tagIds = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default);
static member CreateImagesFromDataWithHttpMessages : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * System.IO.Stream * System.Collections.Generic.IList<Guid> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> -> Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageCreateSummary>
<Extension()>
Public Function CreateImagesFromDataWithHttpMessages (operations As ICustomVisionTrainingClient, projectId As Guid, imageData As Stream, Optional tagIds As IList(Of Guid) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing) As HttpOperationResponse(Of ImageCreateSummary)
Parameters
- operations
- ICustomVisionTrainingClient
The operations group for this extension method.
- projectId
- Guid
The project id.
- imageData
- Stream
Binary image data. Supported formats are JPEG, GIF, PNG, and BMP. Supports images up to 6MB.
- customHeaders
- Dictionary<String,List<String>>
Headers that will be added to request.
Returns
Remarks
This API accepts body content as multipart/form-data and application/octet-stream. When using multipart multiple image files can be sent at once, with a maximum of 64 files
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET