Share via


AIVisionImageAnalysisModelFactory.DetectedTextWord Method

Definition

Initializes a new instance of DetectedTextWord.

public static Azure.AI.Vision.ImageAnalysis.DetectedTextWord DetectedTextWord (string text = default, System.Collections.Generic.IEnumerable<Azure.AI.Vision.ImageAnalysis.ImagePoint> boundingPolygon = default, float confidence = 0);
static member DetectedTextWord : string * seq<Azure.AI.Vision.ImageAnalysis.ImagePoint> * single -> Azure.AI.Vision.ImageAnalysis.DetectedTextWord
Public Shared Function DetectedTextWord (Optional text As String = Nothing, Optional boundingPolygon As IEnumerable(Of ImagePoint) = Nothing, Optional confidence As Single = 0) As DetectedTextWord

Parameters

text
String

Text content of the word.

boundingPolygon
IEnumerable<ImagePoint>

A bounding polygon around the word. At the moment only quadrilaterals are supported (represented by 4 image points).

confidence
Single

The level of confidence that the word was detected. Confidence scores span the range of 0.0 to 1.0 (inclusive), with higher values indicating a higher confidence of detection.

Returns

A new DetectedTextWord instance for mocking.

Applies to