boxPointsAsync function

Future<VecPoint2f> boxPointsAsync(
  1. RotatedRect rect
)

BoxPoints finds the four vertices of a rotated rect. Useful to draw the rotated rectangle.

return: bottom left, top left, top right, bottom right For further Details, please see: https://docs.opencv.org/4.10.0/d3/dc0/group__imgproc__shape.html#gaf78d467e024b4d7936cf9397185d2f5c

Implementation

Future<VecPoint2f> boxPointsAsync(RotatedRect rect) async =>
    cvRunAsync((callback) => cimgproc.BoxPoints_Async(rect.ref, callback), vecPoint2fCompleter);