Class: Google::Cloud::VisionAI::V1::VideoActionRecognitionPredictionResult

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

Overview

Prediction output format for Video Action Recognition.

Defined Under Namespace

Classes: IdentifiedAction

Instance Attribute Summary collapse

Instance Attribute Details

#actions::Array<::Google::Cloud::VisionAI::V1::VideoActionRecognitionPredictionResult::IdentifiedAction>

Returns All of the actions identified in the time range.

Returns:



292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 292

class VideoActionRecognitionPredictionResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Each IdentifiedAction is one particular identification of an action
  # specified with the AnnotationSpec id, display_name and the associated
  # confidence score.
  # @!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] confidence
  #   @return [::Float]
  #     The Model's confidence in correction of this identification, higher
  #     value means higher confidence.
  class IdentifiedAction
    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 actions have been identified. Particularly, if the end is the same as the start, it means the identification happens on a specific video frame.

Returns:

  • (::Google::Protobuf::Timestamp)

    The end, inclusive, of the video's time segment in which the actions have been identified. Particularly, if the end is the same as the start, it means the identification happens on a specific video frame.



292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 292

class VideoActionRecognitionPredictionResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Each IdentifiedAction is one particular identification of an action
  # specified with the AnnotationSpec id, display_name and the associated
  # confidence score.
  # @!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] confidence
  #   @return [::Float]
  #     The Model's confidence in correction of this identification, higher
  #     value means higher confidence.
  class IdentifiedAction
    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 actions have been identified.

Returns:



292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 292

class VideoActionRecognitionPredictionResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Each IdentifiedAction is one particular identification of an action
  # specified with the AnnotationSpec id, display_name and the associated
  # confidence score.
  # @!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] confidence
  #   @return [::Float]
  #     The Model's confidence in correction of this identification, higher
  #     value means higher confidence.
  class IdentifiedAction
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end