AIVisionImageAnalysisModelFactory.DetectedObject 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET