compareAsync function
Compare performs the per-element comparison of two arrays or an array and scalar value.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga303cfb72acf8cbb36d884650c09a3a97
Implementation
Future<Mat> compareAsync(InputArray src1, InputArray src2, int cmpop, {OutputArray? dst}) async {
dst ??= Mat.empty();
return cvRunAsync0(
(callback) => ccore.cv_compare(src1.ref, src2.ref, dst!.ref, cmpop, callback),
(c) {
return c.complete(dst);
},
);
}