| MATLAB File Help: cv.boxPoints | Index |
Finds the four vertices of a rotated rectangle
points = cv.boxPoints(box)
[x,y].[w,h].[x1 y1; x2 y2; x3 y3; x4 y4].The function finds the four vertices of a rotated rectangle. This function is useful to draw the rectangle. You can also use cv.RotatedRect.points method. Please visit the tutorial on bounding rectangle for more information.