pub struct ColorMatch { /* private fields */ }Expand description
Boolean detector/gate: at least min_fraction of the region’s pixels are
within tolerance (per channel) of the target RGB color.
Implementations§
Source§impl ColorMatch
impl ColorMatch
Trait Implementations§
Source§impl Detector for ColorMatch
impl Detector for ColorMatch
fn evaluate( &mut self, view: &FrameView<'_>, ) -> Result<DetectorOutput, DetectorError>
Auto Trait Implementations§
impl Freeze for ColorMatch
impl RefUnwindSafe for ColorMatch
impl Send for ColorMatch
impl Sync for ColorMatch
impl Unpin for ColorMatch
impl UnsafeUnpin for ColorMatch
impl UnwindSafe for ColorMatch
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