reduceArgMinAsync function

Future<Mat> reduceArgMinAsync(
  1. InputArray src,
  2. int axis, {
  3. OutputArray? dst,
  4. bool lastIndex = false,
})

Finds indices of min elements along provided axis.

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

Implementation

Future<Mat> reduceArgMinAsync(InputArray src, int axis, {OutputArray? dst, bool lastIndex = false}) async {
  dst ??= Mat.empty();
  return cvRunAsync0(
    (callback) => ccore.cv_reduceArgMin(src.ref, dst!.ref, axis, lastIndex, callback),
    (c) {
      return c.complete(dst);
    },
  );
}