Class: Google::Privacy::Dlp::V2::BoundingBox

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/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.



278
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 278

class BoundingBox; 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.



278
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 278

class BoundingBox; 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.



278
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 278

class BoundingBox; end

#width ⇒ Integer

Returns Width of the bounding box in pixels.

Returns:

  • (Integer) —

    Width of the bounding box in pixels.



278
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 278

class BoundingBox; end