reduceArgMaxAsync function
Future<Mat>
reduceArgMaxAsync(
- InputArray src,
- int axis, {
- OutputArray? dst,
- bool lastIndex = false,
Finds indices of max elements along provided axis.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#gaa87ea34d99bcc5bf9695048355163da0
Implementation
Future<Mat> reduceArgMaxAsync(InputArray src, int axis, {OutputArray? dst, bool lastIndex = false}) async {
dst ??= Mat.empty();
return cvRunAsync0(
(callback) => ccore.cv_reduceArgMax(src.ref, dst!.ref, axis, lastIndex, callback),
(c) {
return c.complete(dst);
},
);
}