Class: Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::DetectedObject

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/annotations.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#bounding_box::Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::BoundingBox

Returns Boundingbox.



374
375
376
377
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 374

class DetectedObject
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#confidence::Float

Returns 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.



374
375
376
377
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 374

class DetectedObject
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#display_name::String

Returns The display name of the AnnotationSpec that had been identified.

Returns:

  • (::String)

    The display name of the AnnotationSpec that had been identified.



374
375
376
377
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 374

class DetectedObject
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#id::String

Returns The resource ID of the AnnotationSpec that had been identified.

Returns:

  • (::String)

    The resource ID of the AnnotationSpec that had been identified.



374
375
376
377
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 374

class DetectedObject
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#track_id::Integer

Returns 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.



374
375
376
377
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 374

class DetectedObject
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end