computeFeaturesAsync static method

Future<Mat> computeFeaturesAsync(
  1. Mat img, {
  2. Mat? features,
})

async version of computeFeatures

Implementation

static Future<Mat> computeFeaturesAsync(Mat img, {Mat? features}) async => cvRunAsync0<Mat>((callback) {
  features ??= Mat.empty();
  return ccontrib.cv_quality_QualityBRISQUE_computeFeatures_static(img.ref, features!.ref, callback);
}, (c) => c.complete(features));