Class: Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/annotations.rb
Overview
Prediction output format for Video Object Tracking.
Defined Under Namespace
Classes: BoundingBox, DetectedObject
Instance Attribute Summary collapse
-
#objects ⇒ ::Array<::Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::DetectedObject>
All of the objects detected in the specified time range.
-
#segment_end_time ⇒ ::Google::Protobuf::Timestamp
The end, inclusive, of the video's time segment in which the current identifications happen.
-
#segment_start_time ⇒ ::Google::Protobuf::Timestamp
The beginning, inclusive, of the video's time segment in which the current identifications happens.
Instance Attribute Details
#objects ⇒ ::Array<::Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::DetectedObject>
Returns All of the objects detected in the specified time range.
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 328 class VideoObjectTrackingPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Boundingbox for detected object. I.e. the rectangle over the video frame # pinpointing the found AnnotationSpec. The coordinates are relative to the # frame size, and the point 0,0 is in the top left of the frame. # @!attribute [rw] x_min # @return [::Float] # The leftmost coordinate of the bounding box. # @!attribute [rw] x_max # @return [::Float] # The rightmost coordinate of the bounding box. # @!attribute [rw] y_min # @return [::Float] # The topmost coordinate of the bounding box. # @!attribute [rw] y_max # @return [::Float] # The bottommost coordinate of the bounding box. class BoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # @!attribute [rw] id # @return [::String] # The resource ID of the AnnotationSpec that had been identified. # @!attribute [rw] display_name # @return [::String] # The display name of the AnnotationSpec that had been identified. # @!attribute [rw] bounding_box # @return [::Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::BoundingBox] # Boundingbox. # @!attribute [rw] confidence # @return [::Float] # The Model's confidence in correction of this identification, higher # value means higher confidence. # @!attribute [rw] track_id # @return [::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. class DetectedObject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#segment_end_time ⇒ ::Google::Protobuf::Timestamp
Returns The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame.
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 328 class VideoObjectTrackingPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Boundingbox for detected object. I.e. the rectangle over the video frame # pinpointing the found AnnotationSpec. The coordinates are relative to the # frame size, and the point 0,0 is in the top left of the frame. # @!attribute [rw] x_min # @return [::Float] # The leftmost coordinate of the bounding box. # @!attribute [rw] x_max # @return [::Float] # The rightmost coordinate of the bounding box. # @!attribute [rw] y_min # @return [::Float] # The topmost coordinate of the bounding box. # @!attribute [rw] y_max # @return [::Float] # The bottommost coordinate of the bounding box. class BoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # @!attribute [rw] id # @return [::String] # The resource ID of the AnnotationSpec that had been identified. # @!attribute [rw] display_name # @return [::String] # The display name of the AnnotationSpec that had been identified. # @!attribute [rw] bounding_box # @return [::Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::BoundingBox] # Boundingbox. # @!attribute [rw] confidence # @return [::Float] # The Model's confidence in correction of this identification, higher # value means higher confidence. # @!attribute [rw] track_id # @return [::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. class DetectedObject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#segment_start_time ⇒ ::Google::Protobuf::Timestamp
Returns The beginning, inclusive, of the video's time segment in which the current identifications happens.
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 328 class VideoObjectTrackingPredictionResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Boundingbox for detected object. I.e. the rectangle over the video frame # pinpointing the found AnnotationSpec. The coordinates are relative to the # frame size, and the point 0,0 is in the top left of the frame. # @!attribute [rw] x_min # @return [::Float] # The leftmost coordinate of the bounding box. # @!attribute [rw] x_max # @return [::Float] # The rightmost coordinate of the bounding box. # @!attribute [rw] y_min # @return [::Float] # The topmost coordinate of the bounding box. # @!attribute [rw] y_max # @return [::Float] # The bottommost coordinate of the bounding box. class BoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # @!attribute [rw] id # @return [::String] # The resource ID of the AnnotationSpec that had been identified. # @!attribute [rw] display_name # @return [::String] # The display name of the AnnotationSpec that had been identified. # @!attribute [rw] bounding_box # @return [::Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::BoundingBox] # Boundingbox. # @!attribute [rw] confidence # @return [::Float] # The Model's confidence in correction of this identification, higher # value means higher confidence. # @!attribute [rw] track_id # @return [::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. class DetectedObject include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |