Struct aws_sdk_rekognition::model::DetectionFilter
source · [−]#[non_exhaustive]pub struct DetectionFilter {
pub min_confidence: Option<f32>,
pub min_bounding_box_height: Option<f32>,
pub min_bounding_box_width: Option<f32>,
}Expand description
A set of parameters that allow you to filter out certain results from your returned results.
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_confidence: Option<f32>Sets the confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 50 and 100 as Text in Video will not return any result below 50.
min_bounding_box_height: Option<f32>Sets the minimum height of the word bounding box. Words with bounding box heights lesser than this value will be excluded from the result. Value is relative to the video frame height.
min_bounding_box_width: Option<f32>Sets the minimum width of the word bounding box. Words with bounding boxes widths lesser than this value will be excluded from the result. Value is relative to the video frame width.
Implementations
sourceimpl DetectionFilter
impl DetectionFilter
sourcepub fn min_confidence(&self) -> Option<f32>
pub fn min_confidence(&self) -> Option<f32>
Sets the confidence of word detection. Words with detection confidence below this will be excluded from the result. Values should be between 50 and 100 as Text in Video will not return any result below 50.
sourcepub fn min_bounding_box_height(&self) -> Option<f32>
pub fn min_bounding_box_height(&self) -> Option<f32>
Sets the minimum height of the word bounding box. Words with bounding box heights lesser than this value will be excluded from the result. Value is relative to the video frame height.
sourcepub fn min_bounding_box_width(&self) -> Option<f32>
pub fn min_bounding_box_width(&self) -> Option<f32>
Sets the minimum width of the word bounding box. Words with bounding boxes widths lesser than this value will be excluded from the result. Value is relative to the video frame width.
sourceimpl DetectionFilter
impl DetectionFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DetectionFilter
Trait Implementations
sourceimpl Clone for DetectionFilter
impl Clone for DetectionFilter
sourcefn clone(&self) -> DetectionFilter
fn clone(&self) -> DetectionFilter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DetectionFilter
impl Debug for DetectionFilter
sourceimpl PartialEq<DetectionFilter> for DetectionFilter
impl PartialEq<DetectionFilter> for DetectionFilter
sourcefn eq(&self, other: &DetectionFilter) -> bool
fn eq(&self, other: &DetectionFilter) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DetectionFilter) -> bool
fn ne(&self, other: &DetectionFilter) -> bool
This method tests for !=.
impl StructuralPartialEq for DetectionFilter
Auto Trait Implementations
impl RefUnwindSafe for DetectionFilter
impl Send for DetectionFilter
impl Sync for DetectionFilter
impl Unpin for DetectionFilter
impl UnwindSafe for DetectionFilter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more