computeAsync static method
async version of compute
Implementation
static Future<(Mat w, Mat u, Mat vt)> computeAsync(
Mat src, {
Mat? w,
Mat? u,
Mat? vt,
int flags = 0,
}) async {
w ??= Mat.empty();
u ??= Mat.empty();
vt ??= Mat.empty();
return cvRunAsync0(
(callback) => ccore.cv_SVD_Compute(src.ref, w!.ref, u!.ref, vt!.ref, flags, callback),
(c) => c.complete((w!, u!, vt!)),
);
}