Class TextAnnotation (3.0.0)

public sealed class TextAnnotation : IMessage<TextAnnotation>, IEquatable<TextAnnotation>, IDeepCloneable<TextAnnotation>, IBufferMessage, IMessage

TextAnnotation contains a structured representation of OCR extracted text. The hierarchy of an OCR extracted text structure is like this: TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol Each structural component, starting from Page, may further have their own properties. Properties describe detected languages, breaks etc.. Please refer to the [TextAnnotation.TextProperty][google.cloud.vision.v1.TextAnnotation.TextProperty] message definition below for more detail.

Inheritance

Object > TextAnnotation

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

TextAnnotation()

public TextAnnotation()

TextAnnotation(TextAnnotation)

public TextAnnotation(TextAnnotation other)
Parameter
NameDescription
otherTextAnnotation

Properties

Pages

public RepeatedField<Page> Pages { get; }

List of pages detected by OCR.

Property Value
TypeDescription
RepeatedField<Page>

Text

public string Text { get; set; }

UTF-8 text detected on the pages.

Property Value
TypeDescription
String