Struct aws_sdk_rekognition::types::ConnectedHomeSettings
source · #[non_exhaustive]pub struct ConnectedHomeSettings {
pub labels: Vec<String>,
pub min_confidence: Option<f32>,
}Expand description
Label detection settings to use on a streaming video. Defining the settings is required in the request parameter for CreateStreamProcessor. Including this setting in the CreateStreamProcessor request enables you to use the stream processor for label detection. You can then select what you want the stream processor to detect, such as people or pets. When the stream processor has started, one notification is sent for each object class specified. For example, if packages and pets are selected, one SNS notification is published the first time a package is detected and one SNS notification is published the first time a pet is detected, as well as an end-of-session summary.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.labels: Vec<String>Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".
min_confidence: Option<f32>The minimum confidence required to label an object in the video.
Implementations§
source§impl ConnectedHomeSettings
impl ConnectedHomeSettings
sourcepub fn labels(&self) -> &[String]
pub fn labels(&self) -> &[String]
Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".
sourcepub fn min_confidence(&self) -> Option<f32>
pub fn min_confidence(&self) -> Option<f32>
The minimum confidence required to label an object in the video.
source§impl ConnectedHomeSettings
impl ConnectedHomeSettings
sourcepub fn builder() -> ConnectedHomeSettingsBuilder
pub fn builder() -> ConnectedHomeSettingsBuilder
Creates a new builder-style object to manufacture ConnectedHomeSettings.
Trait Implementations§
source§impl Clone for ConnectedHomeSettings
impl Clone for ConnectedHomeSettings
source§fn clone(&self) -> ConnectedHomeSettings
fn clone(&self) -> ConnectedHomeSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ConnectedHomeSettings
impl Debug for ConnectedHomeSettings
source§impl PartialEq for ConnectedHomeSettings
impl PartialEq for ConnectedHomeSettings
source§fn eq(&self, other: &ConnectedHomeSettings) -> bool
fn eq(&self, other: &ConnectedHomeSettings) -> bool
self and other values to be equal, and is used
by ==.