Class: Google::Cloud::Vision::V1::Position
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1::Position
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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.
75 76 77 78 |
# File 'proto_docs/google/cloud/vision/v1/geometry.rb', line 75 class Position include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |