Struct gapi_grpc::google::cloud::aiplatform::v1::schema::predict::params::VideoClassificationPredictionParams[][src]

pub struct VideoClassificationPredictionParams {
    pub confidence_threshold: f32,
    pub max_predictions: i32,
    pub segment_classification: bool,
    pub shot_classification: bool,
    pub one_sec_interval_classification: bool,
}

Prediction model parameters for Video Classification.

Fields

confidence_threshold: f32

The Model only returns predictions with at least this confidence score. Default value is 0.0

max_predictions: i32

The Model only returns up to that many top, by confidence score, predictions per instance. If this number is very high, the Model may return fewer predictions. Default value is 10,000.

segment_classification: bool

Set to true to request segment-level classification. AI Platform returns labels and their confidence scores for the entire time segment of the video that user specified in the input instance. Default value is true

shot_classification: bool

Set to true to request shot-level classification. AI Platform determines the boundaries for each camera shot in the entire time segment of the video that user specified in the input instance. AI Platform then returns labels and their confidence scores for each detected shot, along with the start and end time of the shot. WARNING: Model evaluation is not done for this classification type, the quality of it depends on the training data, but there are no metrics provided to describe that quality. Default value is false

one_sec_interval_classification: bool

Set to true to request classification for a video at one-second intervals. AI Platform returns labels and their confidence scores for each second of the entire time segment of the video that user specified in the input WARNING: Model evaluation is not done for this classification type, the quality of it depends on the training data, but there are no metrics provided to describe that quality. Default value is false

Trait Implementations

impl Clone for VideoClassificationPredictionParams[src]

impl Debug for VideoClassificationPredictionParams[src]

impl Default for VideoClassificationPredictionParams[src]

impl Message for VideoClassificationPredictionParams[src]

impl PartialEq<VideoClassificationPredictionParams> for VideoClassificationPredictionParams[src]

impl StructuralPartialEq for VideoClassificationPredictionParams[src]

Auto Trait Implementations

impl RefUnwindSafe for VideoClassificationPredictionParams

impl Send for VideoClassificationPredictionParams

impl Sync for VideoClassificationPredictionParams

impl Unpin for VideoClassificationPredictionParams

impl UnwindSafe for VideoClassificationPredictionParams

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]