Partager via


AIVisionImageAnalysisModelFactory.DetectedTextLine Method

Definition

Initializes a new instance of DetectedTextLine.

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

Parameters

text
String

Text content of the detected text line.

boundingPolygon
IEnumerable<ImagePoint>

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

words
IEnumerable<DetectedTextWord>

A list of words in this line.

Returns

A new DetectedTextLine instance for mocking.

Applies to