CustomVisionTrainingClientExtensions.GetImageRegionProposalsWithHttpMessages(ICustomVisionTrainingClient, Guid, Guid, Dictionary<String,List<String>>) Method

Definition

Get region proposals for an image. Returns empty array if no proposals are found.

public static Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageRegionProposal> GetImageRegionProposalsWithHttpMessages (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Guid imageId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default);
static member GetImageRegionProposalsWithHttpMessages : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Guid * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> -> Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageRegionProposal>
<Extension()>
Public Function GetImageRegionProposalsWithHttpMessages (operations As ICustomVisionTrainingClient, projectId As Guid, imageId As Guid, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing) As HttpOperationResponse(Of ImageRegionProposal)

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The project id.

imageId
Guid

The image id.

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request.

Returns

HttpOperationResponse<ImageRegionProposal>

Remarks

This API will get region proposals for an image along with confidences for the region. It returns an empty array if no proposals are found.

Applies to