HoughLinesAsync function
        
Future<Mat> 
HoughLinesAsync(
    
- InputArray image,
- double rho,
- double theta,
- int threshold, {
- OutputArray? lines,
- double srn = 0,
- double stn = 0,
- double min_theta = 0,
- 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, {
  OutputArray? lines,
  double srn = 0,
  double stn = 0,
  double min_theta = 0,
  double max_theta = CV_PI,
}) {
  lines ??= Mat.empty();
  return cvRunAsync0(
    (callback) => cimgproc.cv_HoughLines(
      image.ref,
      lines!.ref,
      rho,
      theta,
      threshold,
      srn,
      stn,
      min_theta,
      max_theta,
      callback,
    ),
    (c) {
      return c.complete(lines);
    },
  );
}