fitLineAsync function

Future<Mat> fitLineAsync(
  1. VecPoint points,
  2. int distType,
  3. double param,
  4. double reps,
  5. double aeps,
)

FitLine fits a line to a 2D or 3D point set. distType: DistanceTypes For further details, please see: https:///docs.opencv.org/master/d3/dc0/group__imgproc__shape.html#gaf849da1fdafa67ee84b1e9a23b93f91f

Implementation

Future<Mat> fitLineAsync(VecPoint points, int distType, double param, double reps, double aeps) async =>
    cvRunAsync(
      (callback) => cimgproc.FitLine_Async(points.ref, distType, param, reps, aeps, callback),
      matCompleter,
    );