pub struct StartTextDetectionFilters {
pub regions_of_interest: Option<Vec<RegionOfInterest>>,
pub word_filter: Option<DetectionFilter>,
}
Expand description
Set of optional parameters that let you set the criteria text must meet to be included in your response. WordFilter
looks at a word's height, width and minimum confidence. RegionOfInterest
lets you set a specific region of the screen to look for text in.
Fields§
§regions_of_interest: Option<Vec<RegionOfInterest>>
Filter focusing on a certain area of the frame. Uses a BoundingBox
object to set the region of the screen.
word_filter: Option<DetectionFilter>
Filters focusing on qualities of the text, such as confidence or size.
Trait Implementations§
Source§impl Clone for StartTextDetectionFilters
impl Clone for StartTextDetectionFilters
Source§fn clone(&self) -> StartTextDetectionFilters
fn clone(&self) -> StartTextDetectionFilters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StartTextDetectionFilters
impl Debug for StartTextDetectionFilters
Source§impl Default for StartTextDetectionFilters
impl Default for StartTextDetectionFilters
Source§fn default() -> StartTextDetectionFilters
fn default() -> StartTextDetectionFilters
Returns the “default value” for a type. Read more
impl StructuralPartialEq for StartTextDetectionFilters
Auto Trait Implementations§
impl Freeze for StartTextDetectionFilters
impl RefUnwindSafe for StartTextDetectionFilters
impl Send for StartTextDetectionFilters
impl Sync for StartTextDetectionFilters
impl Unpin for StartTextDetectionFilters
impl UnwindSafe for StartTextDetectionFilters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more