HoughCirclesAsync function

Future<Mat> HoughCirclesAsync(
  1. InputArray image,
  2. int method,
  3. double dp,
  4. double minDist, {
  5. double param1 = 100,
  6. double param2 = 100,
  7. int minRadius = 0,
  8. int maxRadius = 0,
})

HoughCircles finds circles in a grayscale image using the Hough transform. The only "method" currently supported is HoughGradient. If you want to pass more parameters, please see HoughCirclesWithParams.

For further details, please see: https:///docs.opencv.org/master/dd/d1a/group__imgproc__feature.html#ga47849c3be0d0406ad3ca45db65a25d2d

Implementation

Future<Mat> HoughCirclesAsync(
  InputArray image,
  int method,
  double dp,
  double minDist, {
  double param1 = 100,
  double param2 = 100,
  int minRadius = 0,
  int maxRadius = 0,
}) async =>
    cvRunAsync(
      (callback) => cimgproc.HoughCirclesWithParams_Async(
        image.ref,
        method,
        dp,
        minDist,
        param1,
        param2,
        minRadius,
        maxRadius,
        callback,
      ),
      matCompleter,
    );