Vision AI V1 API - Class Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox (v0.1.0)

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

Identified box contains location and the entity of the object.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#box_id

def box_id() -> ::Integer
Returns
  • (::Integer) — An unique id for this box.

#box_id=

def box_id=(value) -> ::Integer
Parameter
  • value (::Integer) — An unique id for this box.
Returns
  • (::Integer) — An unique id for this box.

#entity

def entity() -> ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity

#entity=

def entity=(value) -> ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity

#normalized_bounding_box

def normalized_bounding_box() -> ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox

#normalized_bounding_box=

def normalized_bounding_box=(value) -> ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox
Parameter

#score

def score() -> ::Float
Returns
  • (::Float) — Confidence score associated with this box.

#score=

def score=(value) -> ::Float
Parameter
  • value (::Float) — Confidence score associated with this box.
Returns
  • (::Float) — Confidence score associated with this box.

#track_id

def track_id() -> ::Integer
Returns
  • (::Integer) — An unique id to identify a track. It should be consistent across frames. It only exists if tracking is enabled.

#track_id=

def track_id=(value) -> ::Integer
Parameter
  • value (::Integer) — An unique id to identify a track. It should be consistent across frames. It only exists if tracking is enabled.
Returns
  • (::Integer) — An unique id to identify a track. It should be consistent across frames. It only exists if tracking is enabled.