pub struct ContentSignature { /* private fields */ }Expand description
Compact content fingerprint over the whole watched region: a 4x4 grid of sub-cell mean lumas plus a contrast byte (the same signature the stability mask compares blocks with, scaled to the region).
Emits the signature as lowercase hex DetectorOutput::Text. Comparison
is tolerance-aware and ANCHORED: while the current signature stays
within tolerance of the last changed-to content (fewer than two
components moving beyond it), the previous output is re-emitted
verbatim — capture jitter and sub-tolerance drift can never fire
Changed events, and there is no quantization-boundary flicker.
Implementations§
Trait Implementations§
Source§impl Default for ContentSignature
impl Default for ContentSignature
Source§impl Detector for ContentSignature
impl Detector for ContentSignature
fn evaluate( &mut self, view: &FrameView<'_>, ) -> Result<DetectorOutput, DetectorError>
Auto Trait Implementations§
impl Freeze for ContentSignature
impl RefUnwindSafe for ContentSignature
impl Send for ContentSignature
impl Sync for ContentSignature
impl Unpin for ContentSignature
impl UnsafeUnpin for ContentSignature
impl UnwindSafe for ContentSignature
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