PCAProjectAsync function
Implementation
Future<(Mat mean, Mat result)> PCAProjectAsync(
Mat data,
Mat mean,
Mat eigenvectors, {
OutputArray? result,
}) async {
result ??= Mat.empty();
return cvRunAsync0(
(callback) => ccore.cv_PCAProject(data.ref, mean.ref, eigenvectors.ref, result!.ref, callback),
(c) {
return c.complete((mean, result!));
},
);
}