Cloud Video Intelligence V1beta2 API - Class Google::Cloud::VideoIntelligence::V1beta2::NormalizedBoundingBox (v0.7.1)

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

Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bottom

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

#bottom=

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

#left

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

#left=

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

#right

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

#right=

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

#top

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

#top=

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