computeAsync method

Future<Scalar> computeAsync(
  1. Mat img
)

async version of compute

Implementation

Future<Scalar> computeAsync(Mat img) async {
  final p = calloc<cvg.Scalar>();
  return cvRunAsync0((callback) => ccontrib.cv_quality_QualityBRISQUE_compute(ref, img.ref, p, callback),
      (c) {
    return c.complete(Scalar.fromPointer(p));
  });
}