public final class TextAnnotation extends GeneratedMessageV3 implements TextAnnotationOrBuilder
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.
Protobuf type google.cloud.vision.v1p1beta1.TextAnnotation
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TextAnnotationImplements
TextAnnotationOrBuilderStatic Fields
PAGES_FIELD_NUMBER
public static final int PAGES_FIELD_NUMBER
Type | Description |
int |
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static TextAnnotation getDefaultInstance()
Type | Description |
TextAnnotation |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static TextAnnotation.Builder newBuilder()
Type | Description |
TextAnnotation.Builder |
newBuilder(TextAnnotation prototype)
public static TextAnnotation.Builder newBuilder(TextAnnotation prototype)
Name | Description |
prototype |
|