boundingRect function
BoundingRect calculates the up-right bounding rectangle of a point set.
For further details, please see: https:///docs.opencv.org/3.3.0/d3/dc0/group__imgproc__shape.html#gacb413ddce8e48ff3ca61ed7cf626a366
Implementation
Rect boundingRect(VecPoint points) {
final rect = calloc<cimgproc.Rect>();
cvRun(() => cimgproc.BoundingRect(points.ref, rect));
return Rect.fromPointer(rect);
}