HoughLinesPAsync function

Future<Mat> HoughLinesPAsync(
  1. InputArray image,
  2. double rho,
  3. double theta,
  4. int threshold, {
  5. double minLineLength = 0,
  6. double maxLineGap = 0,
})

HoughLinesP implements the probabilistic 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#ga8618180a5948286384e3b7ca02f6feeb

Implementation

Future<Mat> HoughLinesPAsync(
  InputArray image,
  double rho,
  double theta,
  int threshold, {
  double minLineLength = 0,
  double maxLineGap = 0,
}) async =>
    cvRunAsync(
      (callback) => cffi.HoughLinesPWithParams_Async(
        image.ref,
        rho,
        theta,
        threshold,
        minLineLength,
        maxLineGap,
        callback,
      ),
      matCompleter,
    );