[][src]Function opencv::img_hash::average_hash

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

Calculates img_hash::AverageHash in one call

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