Struct gapi_grpc::google::cloud::aiplatform::v1::schema::predict::prediction::VideoClassificationPredictionResult[][src]

pub struct VideoClassificationPredictionResult {
    pub id: String,
    pub display_name: String,
    pub type: String,
    pub time_segment_start: Option<Duration>,
    pub time_segment_end: Option<Duration>,
    pub confidence: Option<f32>,
}

Prediction output format for Video Classification.

Fields

id: String

The resource ID of the AnnotationSpec that had been identified.

display_name: String

The display name of the AnnotationSpec that had been identified.

type: String

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

time_segment_start: Option<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_end: Option<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.

confidence: Option<f32>

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

Trait Implementations

impl Clone for VideoClassificationPredictionResult[src]

impl Debug for VideoClassificationPredictionResult[src]

impl Default for VideoClassificationPredictionResult[src]

impl Message for VideoClassificationPredictionResult[src]

impl PartialEq<VideoClassificationPredictionResult> for VideoClassificationPredictionResult[src]

impl StructuralPartialEq for VideoClassificationPredictionResult[src]

Auto Trait Implementations

impl RefUnwindSafe for VideoClassificationPredictionResult

impl Send for VideoClassificationPredictionResult

impl Sync for VideoClassificationPredictionResult

impl Unpin for VideoClassificationPredictionResult

impl UnwindSafe for VideoClassificationPredictionResult

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]