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
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
.
shot_change_detection_model: Option<String>
Model to use for shot change detection. Supported values: "latest" and "stable" (the default).
label_detection_model: Option<String>
Model to use for label 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.
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.
safe_search_detection_model: Option<String>
Model to use for safe search detection. Supported values: "latest" and "stable" (the default).
Trait Implementations
impl Default for GoogleCloudVideointelligenceV1beta1_VideoContext
[src]
impl Default for GoogleCloudVideointelligenceV1beta1_VideoContext
fn default() -> GoogleCloudVideointelligenceV1beta1_VideoContext
[src]
fn default() -> GoogleCloudVideointelligenceV1beta1_VideoContext
Returns the "default value" for a type. Read more
impl Clone for GoogleCloudVideointelligenceV1beta1_VideoContext
[src]
impl Clone for GoogleCloudVideointelligenceV1beta1_VideoContext
fn clone(&self) -> GoogleCloudVideointelligenceV1beta1_VideoContext
[src]
fn clone(&self) -> GoogleCloudVideointelligenceV1beta1_VideoContext
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for GoogleCloudVideointelligenceV1beta1_VideoContext
[src]
impl Debug for GoogleCloudVideointelligenceV1beta1_VideoContext
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for GoogleCloudVideointelligenceV1beta1_VideoContext
[src]
impl Part for GoogleCloudVideointelligenceV1beta1_VideoContext