Cloud Video Intelligence V1p3beta1 API - Class Google::Cloud::VideoIntelligence::V1p3beta1::NormalizedVertex (v0.5.0)

Reference documentation and code samples for the Cloud Video Intelligence V1p3beta1 API class Google::Cloud::VideoIntelligence::V1p3beta1::NormalizedVertex.

A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.

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.