class Page extends Message

Detected page from OCR.

Protobuf type Google\Cloud\Vision\V1\Page

Methods

__construct()

No description

getProperty()

Additional information detected on the page.

setProperty(TextAnnotation_TextProperty $var)

Additional information detected on the page.

int
getWidth()

Page width in pixels.

setWidth(int $var)

Page width in pixels.

int
getHeight()

Page height in pixels.

setHeight(int $var)

Page height in pixels.

RepeatedField
getBlocks()

List of blocks of text, images etc on this page.

setBlocks(array|RepeatedField $var)

List of blocks of text, images etc on this page.

Details

at line 43
__construct()

at line 54
TextAnnotation_TextProperty getProperty()

Additional information detected on the page.

Generated from protobuf field .google.cloud.vision.v1.TextAnnotation.TextProperty property = 1;

at line 65
setProperty(TextAnnotation_TextProperty $var)

Additional information detected on the page.

Generated from protobuf field .google.cloud.vision.v1.TextAnnotation.TextProperty property = 1;

Parameters

TextAnnotation_TextProperty $var

at line 77
int getWidth()

Page width in pixels.

Generated from protobuf field int32 width = 2;

Return Value

int

at line 88
setWidth(int $var)

Page width in pixels.

Generated from protobuf field int32 width = 2;

Parameters

int $var

at line 100
int getHeight()

Page height in pixels.

Generated from protobuf field int32 height = 3;

Return Value

int

at line 111
setHeight(int $var)

Page height in pixels.

Generated from protobuf field int32 height = 3;

Parameters

int $var

at line 123
RepeatedField getBlocks()

List of blocks of text, images etc on this page.

Generated from protobuf field repeated .google.cloud.vision.v1.Block blocks = 4;

Return Value

RepeatedField

at line 134
setBlocks(array|RepeatedField $var)

List of blocks of text, images etc on this page.

Generated from protobuf field repeated .google.cloud.vision.v1.Block blocks = 4;

Parameters

array|RepeatedField $var