Class: Google::Cloud::Vision::V1::ImageAnnotationContext

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb

Overview

If an image was produced from a file (e.g. a PDF), this message gives information about the source of that image.

Instance Attribute Summary collapse

Instance Attribute Details

#page_numberInteger

Returns If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.

Returns:

  • (Integer)

    If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.



523
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 523

class ImageAnnotationContext; end

#uriString

Returns The URI of the file used to produce the image.

Returns:

  • (String)

    The URI of the file used to produce the image.



523
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb', line 523

class ImageAnnotationContext; end