Cloud Vision V1p3beta1 API - Class Google::Cloud::Vision::V1p3beta1::Position (v0.10.0)

Reference documentation and code samples for the Cloud Vision V1p3beta1 API class Google::Cloud::Vision::V1p3beta1::Position.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#x

def x() -> ::Float
Returns
  • (::Float) — X coordinate.

#x=

def x=(value) -> ::Float
Parameter
  • value (::Float) — X coordinate.
Returns
  • (::Float) — X coordinate.

#y

def y() -> ::Float
Returns
  • (::Float) — Y coordinate.

#y=

def y=(value) -> ::Float
Parameter
  • value (::Float) — Y coordinate.
Returns
  • (::Float) — Y coordinate.

#z

def z() -> ::Float
Returns
  • (::Float) — Z coordinate (or depth).

#z=

def z=(value) -> ::Float
Parameter
  • value (::Float) — Z coordinate (or depth).
Returns
  • (::Float) — Z coordinate (or depth).