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

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ObjectDetectionPredictionResult::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.

#confidence_score

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

#confidence_score=

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

#entity

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

#entity=

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

#normalized_bounding_box

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

#normalized_bounding_box=

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