getAffineTransformAsync function

Future<Mat> getAffineTransformAsync(
  1. VecPoint src,
  2. VecPoint dst
)

GetAffineTransform returns a 2x3 affine transformation matrix for the corresponding 3 point pairs as image.Point.

For further details, please see: https:///docs.opencv.org/master/da/d54/group__imgproc__transform.html#ga8f6d378f9f8eebb5cb55cd3ae295a999

Implementation

Future<Mat> getAffineTransformAsync(VecPoint src, VecPoint dst) async => cvRunAsync(
      (callback) => cimgproc.GetAffineTransform_Async(src.ref, dst.ref, callback),
      matCompleter,
    );