Reference documentation and code samples for the Cloud Vision V1 Client class ImageAnnotationContext.
If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.
Generated from protobuf message google.cloud.vision.v1.ImageAnnotationContext
Namespace
Google \ Cloud \ Vision \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ uri
string
The URI of the file used to produce the image.
↳ page_number
int
If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.
getUri
The URI of the file used to produce the image.
string
setUri
The URI of the file used to produce the image.
var
string
$this
getPageNumber
If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.
int
setPageNumber
If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.
var
int
$this

