stylizationAsync function

Future<Mat> stylizationAsync(
  1. InputArray src, {
  2. double sigmaS = 60,
  3. double sigmaR = 0.45,
})

Implementation

Future<Mat> stylizationAsync(
  InputArray src, {
  double sigmaS = 60,
  double sigmaR = 0.45,
}) async {
  return cvRunAsync(
    (callback) => cphoto.Stylization_Async(
      src.ref,
      sigmaS,
      sigmaR,
      callback,
    ),
    (c, pdst) => c.complete(Mat.fromPointer(pdst.cast<cphoto.Mat>())),
  );
}