Struct google_videointelligence1_beta1::GoogleCloudVideointelligenceV1beta1_VideoContext[][src]

pub struct GoogleCloudVideointelligenceV1beta1_VideoContext {
    pub label_detection_mode: Option<String>,
    pub shot_change_detection_model: Option<String>,
    pub label_detection_model: Option<String>,
    pub segments: Option<Vec<GoogleCloudVideointelligenceV1beta1_VideoSegment>>,
    pub stationary_camera: Option<bool>,
    pub safe_search_detection_model: Option<String>,
}

Video context and/or feature-specific parameters.

This type is not used in any activity, and only used as part of another schema.

Fields

If label detection has been requested, what labels should be detected in addition to video-level labels or segment-level labels. If unspecified, defaults to SHOT_MODE.

Model to use for shot change detection. Supported values: "latest" and "stable" (the default).

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

Video segments to annotate. The segments may overlap and are not required to be contiguous or span the whole video. If unspecified, each video is treated as a single segment.

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.

Model to use for safe search detection. Supported values: "latest" and "stable" (the default).

Trait Implementations

Auto Trait Implementations