convexHullAsync 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
Future<Mat> convexHullAsync(
VecPoint points, {
Mat? hull,
bool clockwise = false,
bool returnPoints = true,
}) async {
hull ??= Mat.empty();
return cvRunAsync0(
(callback) => cimgproc.cv_convexHull(points.ref, hull!.ref, clockwise, returnPoints, callback),
(c) {
return c.complete(hull);
},
);
}