Partager via


AIVisionImageAnalysisModelFactory.DetectedObject Method

Definition

Initializes a new instance of DetectedObject.

public static Azure.AI.Vision.ImageAnalysis.DetectedObject DetectedObject (Azure.AI.Vision.ImageAnalysis.ImageBoundingBox boundingBox = default, System.Collections.Generic.IEnumerable<Azure.AI.Vision.ImageAnalysis.DetectedTag> tags = default);
static member DetectedObject : Azure.AI.Vision.ImageAnalysis.ImageBoundingBox * seq<Azure.AI.Vision.ImageAnalysis.DetectedTag> -> Azure.AI.Vision.ImageAnalysis.DetectedObject
Public Shared Function DetectedObject (Optional boundingBox As ImageBoundingBox = Nothing, Optional tags As IEnumerable(Of DetectedTag) = Nothing) As DetectedObject

Parameters

boundingBox
ImageBoundingBox

A rectangular boundary where the object was detected.

tags
IEnumerable<DetectedTag>

A single-item list containing the object information.

Returns

A new DetectedObject instance for mocking.

Applies to