minAreaRectAsync function

Future<RotatedRect> minAreaRectAsync(
  1. VecPoint points
)

MinAreaRect finds a rotated rectangle of the minimum area enclosing the input 2D point set.

For further details, please see: https:///docs.opencv.org/master/d3/dc0/group__imgproc__shape.html#ga3d476a3417130ae5154aea421ca7ead9

Implementation

Future<RotatedRect> minAreaRectAsync(VecPoint points) async =>
    cvRunAsync((callback) => cimgproc.MinAreaRect_Async(points.ref, callback), rotatedRectCompleter);