CustomVisionTrainingClientExtensions.GetImageRegionProposalsAsync 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.
Get region proposals for an image. Returns empty array if no proposals are found.
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageRegionProposal> GetImageRegionProposalsAsync (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Guid imageId, System.Threading.CancellationToken cancellationToken = default);
static member GetImageRegionProposalsAsync : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.ImageRegionProposal>
<Extension()>
Public Function GetImageRegionProposalsAsync (operations As ICustomVisionTrainingClient, projectId As Guid, imageId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ImageRegionProposal)
Parameters
- operations
- ICustomVisionTrainingClient
The operations group for this extension method.
- projectId
- Guid
The project id.
- imageId
- Guid
The image id.
- cancellationToken
- CancellationToken
The cancellation token.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應