public sealed class TextAnnotation : IMessage<TextAnnotation>, IEquatable<TextAnnotation>, IDeepCloneable<TextAnnotation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class TextAnnotation.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version of the `TextAnnotation` class is 3.7.0, and documentation is provided for versions ranging from 3.7.0 down to 2.3.0."],["`TextAnnotation` is a class within the Google Cloud Vision v1 API that represents the structured output of OCR extracted text, organized hierarchically from `TextAnnotation` to `Page` to `Block` to `Paragraph` to `Word` to `Symbol`."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`."],["The `TextAnnotation` class contains two primary properties: `Pages`, a list of detected pages, and `Text`, the UTF-8 text extracted from these pages."],["The `TextAnnotation` class provides two constructors: a default constructor and a copy constructor, allowing instances to be created either blank or as copies of existing instances."]]],[]]