[][src]Function opencv::img_hash::block_mean_hash

pub fn block_mean_hash(
    input_arr: &dyn ToInputArray,
    output_arr: &mut dyn ToOutputArray,
    mode: i32
) -> Result<()>

Computes block mean hash of the input image

Parameters

  • inputArr: input image want to compute hash value, type should be CV_8UC4, CV_8UC3 or CV_8UC1.
  • outputArr: Hash value of input, it will contain 16 hex decimal number, return type is CV_8U
  • mode: the mode

C++ default parameters

  • mode: BLOCK_MEAN_HASH_MODE_0