Struct google_videointelligence1_beta1::api::GoogleCloudVideointelligenceV1beta1_VideoContext
source · pub struct GoogleCloudVideointelligenceV1beta1_VideoContext {
pub safe_search_detection_model: Option<String>,
pub segments: Option<Vec<GoogleCloudVideointelligenceV1beta1_VideoSegment>>,
pub label_detection_model: Option<String>,
pub shot_change_detection_model: Option<String>,
pub label_detection_mode: Option<String>,
pub stationary_camera: Option<bool>,
}
Expand description
Video context and/or feature-specific parameters.
This type is not used in any activity, and only used as part of another schema.
Fields§
§safe_search_detection_model: Option<String>
Model to use for safe search detection. Supported values: “latest” and “stable” (the default).
segments: Option<Vec<GoogleCloudVideointelligenceV1beta1_VideoSegment>>
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.
label_detection_model: Option<String>
Model to use for label detection. Supported values: “latest” and “stable” (the default).
shot_change_detection_model: Option<String>
Model to use for shot change detection. Supported values: “latest” and “stable” (the default).
label_detection_mode: Option<String>
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
.
stationary_camera: Option<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.
Trait Implementations§
source§impl Clone for GoogleCloudVideointelligenceV1beta1_VideoContext
impl Clone for GoogleCloudVideointelligenceV1beta1_VideoContext
source§fn clone(&self) -> GoogleCloudVideointelligenceV1beta1_VideoContext
fn clone(&self) -> GoogleCloudVideointelligenceV1beta1_VideoContext
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more