MATLAB File Help: cv.boxPoints Index
cv.boxPoints

Finds the four vertices of a rotated rectangle

points = cv.boxPoints(box)

Input

Output

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.

See also