Condividi tramite


DetectedTextWord Class

Definition

A word object consisting of a contiguous sequence of characters. For non-space delimited languages, such as Chinese, Japanese, and Korean, each character is represented as its own word.

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

Remarks

Words consist of a contiguous sequence of characters. For non-space delimited languages such as Chinese, Japanese, and Korean, each character is represented as its own word.

Properties

BoundingPolygon

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

Confidence

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.

Text

Text content of the word.

Explicit Interface Implementations

IJsonModel<DetectedTextWord>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DetectedTextWord>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DetectedTextWord>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DetectedTextWord>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DetectedTextWord>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to