estimateAffine2DAsync function
Future<(Mat, Mat)>
estimateAffine2DAsync(
- VecPoint2f from,
- VecPoint2f to, {
- int method = RANSAC,
- double ransacReprojThreshold = 3,
- int maxIters = 2000,
- double confidence = 0.99,
- int refineIters = 10,
Implementation
Future<(Mat, Mat inliers)> estimateAffine2DAsync(
VecPoint2f from,
VecPoint2f to, {
int method = RANSAC,
double ransacReprojThreshold = 3,
int maxIters = 2000,
double confidence = 0.99,
int refineIters = 10,
}) async =>
cvRunAsync2(
(callback) => cffi.estimateAffine2DWithParams_Async(
from.ref,
to.ref,
method,
ransacReprojThreshold,
maxIters,
confidence,
refineIters,
callback,
),
matCompleter2,
);