computeAsync method

Future<Scalar> computeAsync(
  1. Mat cmpImgs
)

async version of compute

Implementation

Future<Scalar> computeAsync(Mat cmpImgs) => cvRunAsync<Scalar>(
      (callback) => ccontrib.QualityMSE_compute_async(ref, cmpImgs.ref, callback),
      (c, p) => c.complete(Scalar.fromPointer(p.cast<cvg.Scalar>())),
    );