Class: Google::Cloud::Vision::V1::Position
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1::Position
- 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
-
#x ⇒ Float
X coordinate.
-
#y ⇒ Float
Y coordinate.
-
#z ⇒ Float
Z coordinate (or depth).
Instance Attribute Details
#x ⇒ Float
Returns X coordinate.
47 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.rb', line 47 class Position; end |
#y ⇒ Float
Returns Y coordinate.
47 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.rb', line 47 class Position; end |
#z ⇒ Float
Returns Z coordinate (or depth).
47 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.rb', line 47 class Position; end |