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
Returns
- (::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity) — Entity of this box.
#entity=
def entity=(value) -> ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity
Parameter
- value (::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity) — Entity of this box.
Returns
- (::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::Entity) — Entity of this box.
#normalized_bounding_box
def normalized_bounding_box() -> ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox
Returns
- (::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox) — Bounding Box in the normalized coordinates.
#normalized_bounding_box=
def normalized_bounding_box=(value) -> ::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox
Parameter
- value (::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox) — Bounding Box in the normalized coordinates.
Returns
- (::Google::Cloud::VisionAI::V1::OccupancyCountingPredictionResult::IdentifiedBox::NormalizedBoundingBox) — Bounding Box in the normalized coordinates.
#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.