getAffineTransform2fAsync function

Future<Mat> getAffineTransform2fAsync(
  1. VecPoint2f src,
  2. VecPoint2f dst
)

Implementation

Future<Mat> getAffineTransform2fAsync(VecPoint2f src, VecPoint2f dst) async {
  final mat = Mat.empty();
  return cvRunAsync0(
    (callback) => cimgproc.cv_getAffineTransform2f(src.ref, dst.ref, mat.ptr, callback),
    (c) {
      return c.complete(mat);
    },
  );
}