public interface PageOrBuilder extends MessageOrBuilder
Type | Property and Description |
---|---|
boolean |
has
Additional information detected on the page.
|
Modifier and Type | Method and Description |
---|---|
Block |
getBlocks(int index)
List of blocks of text, images etc on this page.
|
int |
getBlocksCount()
List of blocks of text, images etc on this page.
|
java.util.List<Block> |
getBlocksList()
List of blocks of text, images etc on this page.
|
BlockOrBuilder |
getBlocksOrBuilder(int index)
List of blocks of text, images etc on this page.
|
java.util.List<? extends BlockOrBuilder> |
getBlocksOrBuilderList()
List of blocks of text, images etc on this page.
|
float |
getConfidence()
Confidence of the OCR results on the page.
|
int |
getHeight()
Page height.
|
TextAnnotation.TextProperty |
getProperty()
Additional information detected on the page.
|
TextAnnotation.TextPropertyOrBuilder |
getPropertyOrBuilder()
Additional information detected on the page.
|
int |
getWidth()
Page width.
|
boolean |
hasProperty()
Additional information detected on the page.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasProperty
Additional information detected on the page.
.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty property = 1;
boolean hasProperty()
Additional information detected on the page.
.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty property = 1;
TextAnnotation.TextProperty getProperty()
Additional information detected on the page.
.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty property = 1;
TextAnnotation.TextPropertyOrBuilder getPropertyOrBuilder()
Additional information detected on the page.
.google.cloud.vision.v1p2beta1.TextAnnotation.TextProperty property = 1;
int getWidth()
Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
int32 width = 2;
int getHeight()
Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
int32 height = 3;
java.util.List<Block> getBlocksList()
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p2beta1.Block blocks = 4;
Block getBlocks(int index)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p2beta1.Block blocks = 4;
int getBlocksCount()
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p2beta1.Block blocks = 4;
java.util.List<? extends BlockOrBuilder> getBlocksOrBuilderList()
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p2beta1.Block blocks = 4;
BlockOrBuilder getBlocksOrBuilder(int index)
List of blocks of text, images etc on this page.
repeated .google.cloud.vision.v1p2beta1.Block blocks = 4;
float getConfidence()
Confidence of the OCR results on the page. Range [0, 1].
float confidence = 5;