normAsync function
Norm calculates the absolute norm of an array.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga7c331fb8dd951707e184ef4e3f21dd33
Implementation
Future<double> normAsync(
InputArray src1, {
int normType = NORM_L2,
InputArray? mask,
}) async =>
cvRunAsync(
(callback) => mask == null
? cffi.core_Norm_Async(src1.ref, normType, callback)
: cffi.core_Norm_Mask_Async(src1.ref, normType, mask.ref, callback),
doubleCompleter,
);