PCABackProjectAsync function

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

Implementation

Future<(Mat mean, Mat result)> PCABackProjectAsync(Mat src, Mat mean, Mat eigenVectors) async => cvRunAsync(
      (callback) => cffi.core_PCABackProject_Async(src.ref, mean.ref, eigenVectors.ref, callback),
      (completer, p) => completer.complete((mean, Mat.fromPointer(p.cast<cvg.Mat>()))),
    );