getAffineTransform function
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
Mat getAffineTransform(VecPoint src, VecPoint dst) {
final mat = calloc<cvg.Mat>();
cvRun(() => cffi.GetAffineTransform(src.ref, dst.ref, mat));
return Mat.fromPointer(mat);
}