convexityDefects function
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
Mat convexityDefects(VecPoint contour, Mat hull, {Mat? convexityDefects}) {
  convexityDefects ??= Mat.empty();
  cvRun(() => cimgproc.cv_convexityDefects(contour.ref, hull.ref, convexityDefects!.ref, ffi.nullptr));
  return convexityDefects;
}