inpaintAsync function

Future<Mat> inpaintAsync(
  1. InputArray src,
  2. InputArray inpaintMask,
  3. double inpaintRadius,
  4. int flags,
)

Implementation

Future<Mat> inpaintAsync(InputArray src, InputArray inpaintMask, double inpaintRadius, int flags) async {
  final dst = Mat.empty();
  return cvRunAsync0(
    (callback) => cphoto.cv_inpaint(src.ref, inpaintMask.ref, dst.ref, inpaintRadius, flags, callback),
    (c) {
      return c.complete(dst);
    },
  );
}