Start » Filter Reference » OpenCV » Structural Analysis and Shape Descriptors » cvMinAreaRect

cvMinAreaRect


Module: OpenCV

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

Name Type Description
Input value
inPoints Point2DArray Input Point2D array.
Output value
outRect Path

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Input array must not be empty in cvMinAreaRect.

Complexity Level

This filter is available on Basic Complexity Level.