matchShapesAsync function

Future<double> matchShapesAsync(
  1. VecPoint contour1,
  2. VecPoint contour2,
  3. int method,
  4. double parameter,
)

Compares two shapes. method: ShapeMatchModes For further details, please see: https:///docs.opencv.org/4.x/d3/dc0/group__imgproc__shape.html#gaadc90cb16e2362c9bd6e7363e6e4c317

Implementation

Future<double> matchShapesAsync(VecPoint contour1, VecPoint contour2, int method, double parameter) async =>
    cvRunAsync(
      (callback) => cimgproc.MatchShapes_Async(contour1.ref, contour2.ref, method, parameter, callback),
      doubleCompleter,
    );