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

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