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 = Mat.empty();
cvRun(() => cimgproc.cv_getAffineTransform(src.ref, dst.ref, mat.ptr, ffi.nullptr));
return mat;
}