HoughLinesAsync function

Future<Mat> HoughLinesAsync(
  1. InputArray image,
  2. double rho,
  3. double theta,
  4. int threshold, {
  5. double srn = 0,
  6. double stn = 0,
  7. double min_theta = 0,
  8. double max_theta = CV_PI,
})

HoughLines implements the standard or standard multi-scale Hough transform algorithm for line detection. For a good explanation of Hough transform, see: http:///homepages.inf.ed.ac.uk/rbf/HIPR2/hough.htm

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

Implementation

Future<Mat> HoughLinesAsync(
  InputArray image,
  double rho,
  double theta,
  int threshold, {
  double srn = 0,
  double stn = 0,
  double min_theta = 0,
  double max_theta = CV_PI,
}) async =>
    cvRunAsync(
      (callback) => cimgproc.HoughLines_Async(
          image.ref, rho, theta, threshold, srn, stn, min_theta, max_theta, callback),
      matCompleter,
    );