Struct aws_sdk_rekognition::types::FaceSearchSettings
source · #[non_exhaustive]pub struct FaceSearchSettings {
pub collection_id: Option<String>,
pub face_match_threshold: Option<f32>,
}
Expand description
Input face recognition parameters for an Amazon Rekognition stream processor. Includes the collection to use for face recognition and the face attributes to detect. Defining the settings is required in the request parameter for CreateStreamProcessor
.
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.collection_id: Option<String>
The ID of a collection that contains faces that you want to search for.
face_match_threshold: Option<f32>
Minimum face match confidence score that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.
Implementations§
source§impl FaceSearchSettings
impl FaceSearchSettings
sourcepub fn collection_id(&self) -> Option<&str>
pub fn collection_id(&self) -> Option<&str>
The ID of a collection that contains faces that you want to search for.
sourcepub fn face_match_threshold(&self) -> Option<f32>
pub fn face_match_threshold(&self) -> Option<f32>
Minimum face match confidence score that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted, and values lower than 80 are set to 80.
source§impl FaceSearchSettings
impl FaceSearchSettings
sourcepub fn builder() -> FaceSearchSettingsBuilder
pub fn builder() -> FaceSearchSettingsBuilder
Creates a new builder-style object to manufacture FaceSearchSettings
.
Trait Implementations§
source§impl Clone for FaceSearchSettings
impl Clone for FaceSearchSettings
source§fn clone(&self) -> FaceSearchSettings
fn clone(&self) -> FaceSearchSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FaceSearchSettings
impl Debug for FaceSearchSettings
source§impl PartialEq<FaceSearchSettings> for FaceSearchSettings
impl PartialEq<FaceSearchSettings> for FaceSearchSettings
source§fn eq(&self, other: &FaceSearchSettings) -> bool
fn eq(&self, other: &FaceSearchSettings) -> bool
self
and other
values to be equal, and is used
by ==
.