Struct cv::hash::AverageHash[][src]

pub struct AverageHash { /* fields omitted */ }

Computes average hash value of the input image

Implementations

impl AverageHash[src]

pub fn new() -> Self[src]

Creates new instance

Trait Implementations

impl Debug for AverageHash[src]

impl Drop for AverageHash[src]

impl HashImplInterface for AverageHash[src]

impl Send for AverageHash[src]

impl Sync for AverageHash[src]

Auto Trait Implementations

impl RefUnwindSafe for AverageHash

impl Unpin for AverageHash

impl UnwindSafe for AverageHash

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Hash for T where
    T: HashImplInterface
[src]

pub fn compute(&Self, &Mat) -> Mat[src]

Computes image hash

pub fn compare(&Self, &Mat, &Mat) -> f64[src]

Compares two image hashes

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.