Share via


CustomVisionTrainingClientExtensions.GetImageRegionProposals Method

Definition

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

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

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The project id.

imageId
Guid

The image id.

Returns

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