getRotationMatrix2DAsync function

Future<Mat> getRotationMatrix2DAsync(
  1. Point2f center,
  2. double angle,
  3. double scale
)

GetRotationMatrix2D calculates an affine matrix of 2D rotation.

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

Implementation

Future<Mat> getRotationMatrix2DAsync(Point2f center, double angle, double scale) async => cvRunAsync(
      (callback) => cimgproc.GetRotationMatrix2D_Async(center.ref, angle, scale, callback),
      matCompleter,
    );