Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::NormalizedVertex (v0.8.0)

Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::NormalizedVertex.

A vertex represents a 2D point in the image. The normalized vertex coordinates are between 0 to 1 fractions relative to the original plane (image, video). E.g. if the plane (e.g. whole image) would have size 10 x 20 then a point with normalized coordinates (0.1, 0.3) would be at the position (1, 6) on that plane.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#x

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

#x=

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

#y

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

#y=

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