Class: Google::Cloud::Vision::V1::Position

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.rb

Overview

A 3D position in the image, used primarily for Face detection landmarks. A valid Position must have both x and y coordinates. The position coordinates are in the same scale as the original image.

Instance Attribute Summary collapse

Instance Attribute Details

#xFloat

Returns X coordinate.

Returns:

  • (Float)

    X coordinate.



47
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.rb', line 47

class Position; end

#yFloat

Returns Y coordinate.

Returns:

  • (Float)

    Y coordinate.



47
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.rb', line 47

class Position; end

#zFloat

Returns Z coordinate (or depth).

Returns:

  • (Float)

    Z coordinate (or depth).



47
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.rb', line 47

class Position; end