Class: Google::Cloud::VisionAI::V1::VideoClassificationPredictionResult

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

Defined Under Namespace

Classes: IdentifiedClassification

Instance Attribute Summary collapse

Instance Attribute Details

#classifications::Array<::Google::Cloud::VisionAI::V1::VideoClassificationPredictionResult::IdentifiedClassification>

Returns All of the classifications identified in the time range.

Returns:



394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 394

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

  # Each IdentifiedClassification is one particular identification of an
  # classification specified with the AnnotationSpec id and 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 IdentifiedClassification
    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 classifications 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 classifications have been identified. Particularly, if the end is the same as the start, it means the identification happens on a specific video frame.



394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 394

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

  # Each IdentifiedClassification is one particular identification of an
  # classification specified with the AnnotationSpec id and 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 IdentifiedClassification
    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 classifications have been identified.

Returns:



394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 394

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

  # Each IdentifiedClassification is one particular identification of an
  # classification specified with the AnnotationSpec id and 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 IdentifiedClassification
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end