convexityDefectsAsync function

Future<Mat> convexityDefectsAsync(
  1. VecPoint contour,
  2. Mat hull, {
  3. Mat? convexityDefects,
})

ConvexityDefects finds the convexity defects of a contour.

For further details, please see: https:///docs.opencv.org/master/d3/dc0/group__imgproc__shape.html#gada4437098113fd8683c932e0567f47ba

Implementation

Future<Mat> convexityDefectsAsync(VecPoint contour, Mat hull, {Mat? convexityDefects}) async =>
    cvRunAsync((callback) => cimgproc.ConvexityDefects_Async(contour.ref, hull.ref, callback), matCompleter);