Class: Google::Cloud::Vision::V1p3beta1::ImageAnnotationContext

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1p3beta1/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_number::Integer

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.



625
626
627
628
# File 'proto_docs/google/cloud/vision/v1p3beta1/image_annotator.rb', line 625

class ImageAnnotationContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#uri::String

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

Returns:

  • (::String)

    The URI of the file used to produce the image.



625
626
627
628
# File 'proto_docs/google/cloud/vision/v1p3beta1/image_annotator.rb', line 625

class ImageAnnotationContext
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end