[−][src]Struct google_videointelligence1::GoogleCloudVideointelligenceV1_LabelDetectionConfig
Config for LABEL_DETECTION.
This type is not used in any activity, and only used as part of another schema.
Fields
label_detection_mode: Option<String>
What labels should be detected with LABEL_DETECTION, in addition to
video-level labels or segment-level labels.
If unspecified, defaults to SHOT_MODE
.
model: Option<String>
Model to use for label detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
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. Should be used with SHOT_AND_FRAME_MODE
enabled.
frame_confidence_threshold: Option<f32>
The confidence threshold we perform filtering on the labels from frame-level detection. If not set, it is set to 0.4 by default. The valid range for this threshold is [0.1, 0.9]. Any value set outside of this range will be clipped. Note: For best results, follow the default threshold. We will update the default threshold everytime when we release a new model.
video_confidence_threshold: Option<f32>
The confidence threshold we perform filtering on the labels from video-level and shot-level detections. If not set, it's set to 0.3 by default. The valid range for this threshold is [0.1, 0.9]. Any value set outside of this range will be clipped. Note: For best results, follow the default threshold. We will update the default threshold everytime when we release a new model.
Trait Implementations
impl Clone for GoogleCloudVideointelligenceV1_LabelDetectionConfig
[src]
fn clone(&self) -> GoogleCloudVideointelligenceV1_LabelDetectionConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GoogleCloudVideointelligenceV1_LabelDetectionConfig
[src]
impl Default for GoogleCloudVideointelligenceV1_LabelDetectionConfig
[src]
impl<'de> Deserialize<'de> for GoogleCloudVideointelligenceV1_LabelDetectionConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for GoogleCloudVideointelligenceV1_LabelDetectionConfig
[src]
impl Serialize for GoogleCloudVideointelligenceV1_LabelDetectionConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudVideointelligenceV1_LabelDetectionConfig
impl Send for GoogleCloudVideointelligenceV1_LabelDetectionConfig
impl Sync for GoogleCloudVideointelligenceV1_LabelDetectionConfig
impl Unpin for GoogleCloudVideointelligenceV1_LabelDetectionConfig
impl UnwindSafe for GoogleCloudVideointelligenceV1_LabelDetectionConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,