Class: Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::VideoClassificationPredictionResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.rb

Overview

Prediction output format for Video Classification.

Instance Attribute Summary collapse

Instance Attribute Details

#confidence::Google::Protobuf::FloatValue

Returns The Model's confidence in correction of this prediction, higher value means higher confidence.

Returns:



63
64
65
66
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.rb', line 63

class VideoClassificationPredictionResult
  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.



63
64
65
66
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.rb', line 63

class VideoClassificationPredictionResult
  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.



63
64
65
66
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.rb', line 63

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

#time_segment_end::Google::Protobuf::Duration

Returns The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.

Returns:

  • (::Google::Protobuf::Duration)

    The end, exclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentEnd' from the input instance, for other types it is the end of a shot or a 1 second interval respectively.



63
64
65
66
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.rb', line 63

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

#time_segment_start::Google::Protobuf::Duration

Returns The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.

Returns:

  • (::Google::Protobuf::Duration)

    The beginning, inclusive, of the video's time segment in which the AnnotationSpec has been identified. Expressed as a number of seconds as measured from the start of the video, with fractions up to a microsecond precision, and with "s" appended at the end. Note that for 'segment-classification' prediction type, this equals the original 'timeSegmentStart' from the input instance, for other types it is the start of a shot or a 1 second interval respectively.



63
64
65
66
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.rb', line 63

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

#type::String

Returns The type of the prediction. The requested types can be configured via parameters. This will be one of

  • segment-classification
  • shot-classification
  • one-sec-interval-classification.

Returns:

  • (::String)

    The type of the prediction. The requested types can be configured via parameters. This will be one of

    • segment-classification
    • shot-classification
    • one-sec-interval-classification


63
64
65
66
# File 'proto_docs/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.rb', line 63

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