#[non_exhaustive]pub struct StartShotDetectionFilter {
pub min_segment_confidence: Option<f32>,
}Expand description
Filters for the shot detection segments returned by GetSegmentDetection. For more information, see StartSegmentDetectionFilters.
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.min_segment_confidence: Option<f32>Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected segment. Confidence represents how certain Amazon Rekognition is that a segment is correctly identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video doesn't return any segments with a confidence level lower than this specified value.
If you don't specify MinSegmentConfidence, the GetSegmentDetection returns segments with confidence values greater than or equal to 50 percent.
Implementations§
source§impl StartShotDetectionFilter
impl StartShotDetectionFilter
sourcepub fn min_segment_confidence(&self) -> Option<f32>
pub fn min_segment_confidence(&self) -> Option<f32>
Specifies the minimum confidence that Amazon Rekognition Video must have in order to return a detected segment. Confidence represents how certain Amazon Rekognition is that a segment is correctly identified. 0 is the lowest confidence. 100 is the highest confidence. Amazon Rekognition Video doesn't return any segments with a confidence level lower than this specified value.
If you don't specify MinSegmentConfidence, the GetSegmentDetection returns segments with confidence values greater than or equal to 50 percent.
source§impl StartShotDetectionFilter
impl StartShotDetectionFilter
sourcepub fn builder() -> StartShotDetectionFilterBuilder
pub fn builder() -> StartShotDetectionFilterBuilder
Creates a new builder-style object to manufacture StartShotDetectionFilter.
Trait Implementations§
source§impl Clone for StartShotDetectionFilter
impl Clone for StartShotDetectionFilter
source§fn clone(&self) -> StartShotDetectionFilter
fn clone(&self) -> StartShotDetectionFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartShotDetectionFilter
impl Debug for StartShotDetectionFilter
source§impl PartialEq for StartShotDetectionFilter
impl PartialEq for StartShotDetectionFilter
source§fn eq(&self, other: &StartShotDetectionFilter) -> bool
fn eq(&self, other: &StartShotDetectionFilter) -> bool
self and other values to be equal, and is used
by ==.