seamlessCloneAsync function

Future<Mat> seamlessCloneAsync(
  1. InputArray src,
  2. InputArray dst,
  3. InputArray mask,
  4. Point p,
  5. int flags,
)

Implementation

Future<Mat> seamlessCloneAsync(InputArray src, InputArray dst, InputArray mask, Point p, int flags) async {
  final blend = Mat.empty();
  return cvRunAsync0(
    (callback) => cphoto.cv_seamlessClone(src.ref, dst.ref, mask.ref, p.ref, blend.ref, flags, callback),
    (c) {
      return c.complete(blend);
    },
  );
}