convexHull function
ConvexHull finds the convex hull of a point set.
For further details, please see: https:///docs.opencv.org/master/d3/dc0/group__imgproc__shape.html#ga014b28e56cb8854c0de4a211cb2be656
Implementation
Mat convexHull(VecPoint points, {Mat? hull, bool clockwise = false, bool returnPoints = true}) {
hull ??= Mat.empty();
cvRun(() => cimgproc.cv_convexHull(points.ref, hull!.ref, clockwise, returnPoints, ffi.nullptr));
return hull;
}