你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AIVisionImageAnalysisModelFactory.ObjectsResult Method

Definition

Initializes a new instance of ObjectsResult.

public static Azure.AI.Vision.ImageAnalysis.ObjectsResult ObjectsResult (System.Collections.Generic.IEnumerable<Azure.AI.Vision.ImageAnalysis.DetectedObject> values = default);
static member ObjectsResult : seq<Azure.AI.Vision.ImageAnalysis.DetectedObject> -> Azure.AI.Vision.ImageAnalysis.ObjectsResult
Public Shared Function ObjectsResult (Optional values As IEnumerable(Of DetectedObject) = Nothing) As ObjectsResult

Parameters

values
IEnumerable<DetectedObject>

A list of physical object detected in an image and their location.

Returns

A new ObjectsResult instance for mocking.

Applies to