Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::VideoClassificationPredictionResult (v0.57.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction::VideoClassificationPredictionResult.

Prediction output format for Video Classification.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence

def confidence() -> ::Google::Protobuf::FloatValue
Returns

#confidence=

def confidence=(value) -> ::Google::Protobuf::FloatValue
Parameter
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — The display name of the AnnotationSpec that had been identified.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The display name of the AnnotationSpec that had been identified.
Returns
  • (::String) — The display name of the AnnotationSpec that had been identified.

#id

def id() -> ::String
Returns
  • (::String) — The resource ID of the AnnotationSpec that had been identified.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — The resource ID of the AnnotationSpec that had been identified.
Returns
  • (::String) — The resource ID of the AnnotationSpec that had been identified.

#time_segment_end

def time_segment_end() -> ::Google::Protobuf::Duration
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.

#time_segment_end=

def time_segment_end=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::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.
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.

#time_segment_start

def time_segment_start() -> ::Google::Protobuf::Duration
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.

#time_segment_start=

def time_segment_start=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::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.
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.

#type

def type() -> ::String
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

#type=

def type=(value) -> ::String
Parameter
  • value (::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
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