Vision AI V1 API - Class Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::NormalizedBoundingBox (v0.2.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::PersonalProtectiveEquipmentDetectionOutput::NormalizedBoundingBox.

Bounding Box in the normalized coordinates.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#height

def height() -> ::Float
Returns
  • (::Float) — Height of the bounding box.

#height=

def height=(value) -> ::Float
Parameter
  • value (::Float) — Height of the bounding box.
Returns
  • (::Float) — Height of the bounding box.

#width

def width() -> ::Float
Returns
  • (::Float) — Width of the bounding box.

#width=

def width=(value) -> ::Float
Parameter
  • value (::Float) — Width of the bounding box.
Returns
  • (::Float) — Width of the bounding box.

#xmin

def xmin() -> ::Float
Returns
  • (::Float) — Min in x coordinate.

#xmin=

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

#ymin

def ymin() -> ::Float
Returns
  • (::Float) — Min in y coordinate.

#ymin=

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