drawKeyPointsAsync function

Future<void> drawKeyPointsAsync(
  1. Mat src,
  2. VecKeyPoint keypoints,
  3. Mat dst,
  4. Scalar color,
  5. DrawMatchesFlag flag,
)

Implementation

Future<void> drawKeyPointsAsync(
  Mat src,
  VecKeyPoint keypoints,
  Mat dst,
  Scalar color,
  DrawMatchesFlag flag,
) async {
  await cvRunAsync0<void>(
    (callback) => cfeatures2d.DrawKeyPoints_Async(
      src.ref,
      keypoints.ref,
      dst.ref,
      color.ref,
      flag.value,
      callback,
    ),
    (c) => c.complete(),
  );
}