norm1Async function

Future<double> norm1Async(
  1. InputArray src1,
  2. InputArray src2, {
  3. int normType = NORM_L2,
})

Norm calculates the absolute difference/relative norm of two arrays.

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga7c331fb8dd951707e184ef4e3f21dd33

Implementation

Future<double> norm1Async(
  InputArray src1,
  InputArray src2, {
  int normType = NORM_L2,
  // InputArray? mask,
}) async =>
    cvRunAsync(
      (callback) => cffi.core_NormWithMats_Async(src1.ref, src2.ref, normType, callback),
      doubleCompleter,
    );