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
- (::Google::Protobuf::FloatValue) — The Model's confidence in correction of this prediction, higher value means higher confidence.
#confidence=
def confidence=(value) -> ::Google::Protobuf::FloatValue
- value (::Google::Protobuf::FloatValue) — The Model's confidence in correction of this prediction, higher value means higher confidence.
- (::Google::Protobuf::FloatValue) — The Model's confidence in correction of this prediction, higher value means higher confidence.
#display_name
def display_name() -> ::String
- (::String) — The display name of the AnnotationSpec that had been identified.
#display_name=
def display_name=(value) -> ::String
- value (::String) — The display name of the AnnotationSpec that had been identified.
- (::String) — The display name of the AnnotationSpec that had been identified.
#id
def id() -> ::String
- (::String) — The resource ID of the AnnotationSpec that had been identified.
#id=
def id=(value) -> ::String
- value (::String) — The resource ID of the AnnotationSpec that had been identified.
- (::String) — The resource ID of the AnnotationSpec that had been identified.
#time_segment_end
def time_segment_end() -> ::Google::Protobuf::Duration
- (::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
- 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.
- (::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
- (::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
- 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.
- (::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
-
(::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
-
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
-
(::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