Class: Google::Cloud::Dlp::V2::BoundingBox
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::BoundingBox
- 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
-
#height ⇒ ::Integer
Height of the bounding box in pixels.
-
#left ⇒ ::Integer
Left coordinate of the bounding box.
-
#top ⇒ ::Integer
Top coordinate of the bounding box.
-
#width ⇒ ::Integer
Width of the bounding box in pixels.
Instance Attribute Details
#height ⇒ ::Integer
Returns Height of the bounding box in pixels.
668 669 670 671 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 668 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.
668 669 670 671 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 668 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.
668 669 670 671 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 668 class BoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#width ⇒ ::Integer
Returns Width of the bounding box in pixels.
668 669 670 671 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 668 class BoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |