pub trait ImgHashBaseTrait: AlgorithmTrait + ImgHashBaseTraitConst {
    fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void;

    fn compute(
        &mut self,
        input_arr: &dyn ToInputArray,
        output_arr: &mut dyn ToOutputArray
    ) -> Result<()> { ... } }

Required Methods

Provided Methods

Computes hash of the input image

Parameters
  • inputArr: input image want to compute hash value
  • outputArr: hash of the image

Implementors