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

#heightInteger

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

#leftInteger

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

#topInteger

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

#widthInteger

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