applyAsync method

Future<Mat> applyAsync(
  1. Mat src
)

Implementation

Future<Mat> applyAsync(Mat src) async {
  final dst = Mat.empty();
  return cvRunAsync0(
    (callback) => cvideo.cv_BackgroundSubtractorMOG2_apply(ref, src.ref, dst.ref, callback),
    (c) {
      return c.complete(dst);
    },
  );
}