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