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 message definition below for more detail.
Implements
Inherited Members
Namespace: Google.Apis.Vision.v1p2beta1.Data
Assembly: Google.Apis.Vision.v1p2beta1.dll
Syntax
public class TextAnnotation : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Pages
List of pages detected by OCR.
Declaration
[JsonProperty("pages")]
public virtual IList<Page> Pages { get; set; }
Property Value
Type | Description |
---|---|
IList<Page> |
Text
UTF-8 text detected on the pages.
Declaration
[JsonProperty("text")]
public virtual string Text { get; set; }
Property Value
Type | Description |
---|---|
string |