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

DetectedTextLine Class

Definition

Represents a single line of text in the image.

public class DetectedTextLine : System.ClientModel.Primitives.IJsonModel<Azure.AI.Vision.ImageAnalysis.DetectedTextLine>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Vision.ImageAnalysis.DetectedTextLine>
type DetectedTextLine = class
    interface IJsonModel<DetectedTextLine>
    interface IPersistableModel<DetectedTextLine>
Public Class DetectedTextLine
Implements IJsonModel(Of DetectedTextLine), IPersistableModel(Of DetectedTextLine)
Inheritance
DetectedTextLine
Implements

Properties

BoundingPolygon

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

Text

Text content of the detected text line.

Words

A list of words in this line.

Explicit Interface Implementations

IJsonModel<DetectedTextLine>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DetectedTextLine>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DetectedTextLine>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DetectedTextLine>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DetectedTextLine>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to