Reference documentation and code samples for the Cloud Vision V1 Client class Page.
Detected page from OCR.
Generated from protobuf message google.cloud.vision.v1.Page
Namespace
Google \ Cloud \ Vision \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ property
↳ width
int
Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
↳ height
int
Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
↳ blocks
↳ confidence
float
Confidence of the OCR results on the page. Range [0, 1].
getProperty
Additional information detected on the page.
hasProperty
clearProperty
setProperty
Additional information detected on the page.
$this
getWidth
Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
int
setWidth
Page width. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
var
int
$this
getHeight
Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
int
setHeight
Page height. For PDFs the unit is points. For images (including TIFFs) the unit is pixels.
var
int
$this
getBlocks
List of blocks of text, images etc on this page.
setBlocks
List of blocks of text, images etc on this page.
$this
getConfidence
Confidence of the OCR results on the page. Range [0, 1].
float
setConfidence
Confidence of the OCR results on the page. Range [0, 1].
var
float
$this

