meanAsync method

Future<Scalar> meanAsync({
  1. Mat? mask,
})

Implementation

Future<Scalar> meanAsync({Mat? mask}) async => cvRunAsync(
      (callback) => mask == null
          ? cffi.core_Mean_Async(ref, callback)
          : cffi.core_MeanWithMask_Async(ref, mask.ref, callback),
      scalarCompleter,
    );