Vision AI V1 API - Class Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::DetectedObject (v0.3.0)

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

Each DetectedObject is one particular identification of an object specified with the AnnotationSpec id and display_name, the bounding box, the associated confidence score and the corresponding track_id.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bounding_box

def bounding_box() -> ::Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::BoundingBox

#bounding_box=

def bounding_box=(value) -> ::Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::BoundingBox

#confidence

def confidence() -> ::Float
Returns
  • (::Float) — The Model's confidence in correction of this identification, higher value means higher confidence.

#confidence=

def confidence=(value) -> ::Float
Parameter
  • value (::Float) — The Model's confidence in correction of this identification, higher value means higher confidence.
Returns
  • (::Float) — The Model's confidence in correction of this identification, higher value means higher confidence.

#display_name

def display_name() -> ::String
Returns
  • (::String) — The display name of the AnnotationSpec that had been identified.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The display name of the AnnotationSpec that had been identified.
Returns
  • (::String) — The display name of the AnnotationSpec that had been identified.

#id

def id() -> ::String
Returns
  • (::String) — The resource ID of the AnnotationSpec that had been identified.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — The resource ID of the AnnotationSpec that had been identified.
Returns
  • (::String) — The resource ID of the AnnotationSpec that had been identified.

#track_id

def track_id() -> ::Integer
Returns
  • (::Integer) — The same object may be identified on muitiple frames which are typical adjacent. The set of frames where a particular object has been detected form a track. This track_id can be used to trace down all frames for an detected object.

#track_id=

def track_id=(value) -> ::Integer
Parameter
  • value (::Integer) — The same object may be identified on muitiple frames which are typical adjacent. The set of frames where a particular object has been detected form a track. This track_id can be used to trace down all frames for an detected object.
Returns
  • (::Integer) — The same object may be identified on muitiple frames which are typical adjacent. The set of frames where a particular object has been detected form a track. This track_id can be used to trace down all frames for an detected object.