PCAProjectAsync function

Future<(Mat, Mat)> PCAProjectAsync(
  1. InputArray src,
  2. InputArray mean,
  3. InputArray eigenVectors
)

Implementation

Future<(Mat mean, Mat result)> PCAProjectAsync(InputArray src, InputArray mean, InputArray eigenVectors) =>
    cvRunAsync((callback) => ccore.core_PCAProject_Async(src.ref, mean.ref, eigenVectors.ref, callback),
        (completer, p) {
      completer.complete((mean, Mat.fromPointer(p.cast<ccore.Mat>())));
    });