Class: Google::Cloud::Dlp::V2::BoundingBox

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

Bounding box encompassing detected text within an image.

Instance Attribute Summary collapse

Instance Attribute Details

#height::Integer

Returns Height of the bounding box in pixels.

Returns:

  • (::Integer)

    Height of the bounding box in pixels.



603
604
605
606
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 603

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

#left::Integer

Returns Left coordinate of the bounding box. (0,0) is upper left.

Returns:

  • (::Integer)

    Left coordinate of the bounding box. (0,0) is upper left.



603
604
605
606
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 603

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

#top::Integer

Returns Top coordinate of the bounding box. (0,0) is upper left.

Returns:

  • (::Integer)

    Top coordinate of the bounding box. (0,0) is upper left.



603
604
605
606
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 603

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

#width::Integer

Returns Width of the bounding box in pixels.

Returns:

  • (::Integer)

    Width of the bounding box in pixels.



603
604
605
606
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 603

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