fitEllipse function
FitEllipse Fits an ellipse around a set of 2D points.
For further details, please see: https:///docs.opencv.org/master/d3/dc0/group__imgproc__shape.html#gaf259efaad93098103d6c27b9e4900ffa
Implementation
RotatedRect fitEllipse(VecPoint points) {
final p = calloc<cvg.RotatedRect>();
cvRun(() => cimgproc.cv_fitEllipse(points.ref, p, ffi.nullptr));
return RotatedRect.fromPointer(p);
}