[][src]Struct gcp_client::google::cloud::videointelligence::v1p2beta1::LabelDetectionConfig

pub struct LabelDetectionConfig {
    pub label_detection_mode: i32,
    pub stationary_camera: bool,
    pub model: String,
}

Config for LABEL_DETECTION.

Fields

label_detection_mode: i32

What labels should be detected with LABEL_DETECTION, in addition to video-level labels or segment-level labels. If unspecified, defaults to SHOT_MODE.

stationary_camera: bool

Whether the video has been shot from a stationary (i.e. non-moving) camera. When set to true, might improve detection accuracy for moving objects. Should be used with SHOT_AND_FRAME_MODE enabled.

model: String

Model to use for label detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

Implementations

impl LabelDetectionConfig[src]

pub fn label_detection_mode(&self) -> LabelDetectionMode[src]

Returns the enum value of label_detection_mode, or the default if the field is set to an invalid enum value.

pub fn set_label_detection_mode(&mut self, value: LabelDetectionMode)[src]

Sets label_detection_mode to the provided enum value.

Trait Implementations

impl Clone for LabelDetectionConfig[src]

impl Debug for LabelDetectionConfig[src]

impl Default for LabelDetectionConfig[src]

impl Message for LabelDetectionConfig[src]

impl PartialEq<LabelDetectionConfig> for LabelDetectionConfig[src]

impl StructuralPartialEq for LabelDetectionConfig[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]