#[non_exhaustive]pub struct StreamProcessorSettings {
pub face_search: Option<FaceSearchSettings>,
pub connected_home: Option<ConnectedHomeSettings>,
}
Expand description
Input parameters used in a streaming video analyzed by a Amazon Rekognition stream processor. You can use FaceSearch
to recognize faces in a streaming video, or you can use ConnectedHome
to detect labels.
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.face_search: Option<FaceSearchSettings>
Face search settings to use on a streaming video.
connected_home: Option<ConnectedHomeSettings>
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.
Implementations§
source§impl StreamProcessorSettings
impl StreamProcessorSettings
sourcepub fn face_search(&self) -> Option<&FaceSearchSettings>
pub fn face_search(&self) -> Option<&FaceSearchSettings>
Face search settings to use on a streaming video.
sourcepub fn connected_home(&self) -> Option<&ConnectedHomeSettings>
pub fn connected_home(&self) -> Option<&ConnectedHomeSettings>
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.
source§impl StreamProcessorSettings
impl StreamProcessorSettings
sourcepub fn builder() -> StreamProcessorSettingsBuilder
pub fn builder() -> StreamProcessorSettingsBuilder
Creates a new builder-style object to manufacture StreamProcessorSettings
.
Trait Implementations§
source§impl Clone for StreamProcessorSettings
impl Clone for StreamProcessorSettings
source§fn clone(&self) -> StreamProcessorSettings
fn clone(&self) -> StreamProcessorSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StreamProcessorSettings
impl Debug for StreamProcessorSettings
source§impl PartialEq<StreamProcessorSettings> for StreamProcessorSettings
impl PartialEq<StreamProcessorSettings> for StreamProcessorSettings
source§fn eq(&self, other: &StreamProcessorSettings) -> bool
fn eq(&self, other: &StreamProcessorSettings) -> bool
self
and other
values to be equal, and is used
by ==
.