multiplyAsync function

Future<Mat> multiplyAsync(
  1. InputArray src1,
  2. InputArray src2, {
  3. double scale = 1,
  4. int dtype = -1,
})

Multiply calculates the per-element scaled product of two arrays. Both input arrays must be of the same size and the same type.

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

Implementation

Future<Mat> multiplyAsync(
  InputArray src1,
  InputArray src2, {
  double scale = 1,
  int dtype = -1,
}) async =>
    cvRunAsync(
      (callback) => cffi.core_MultiplyWithParams_Async(src1.ref, src2.ref, scale, dtype, callback),
      matCompleter,
    );