Partager via


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