minAreaRect

http://kube.pl/wp-content/uploads/2018/01/minAreaRect_01.png

Functionality

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

Inputs

  • points_in – Input vector of 2D points, stored in std::vector<> or Mat

Outputs

Locals

  • loc_from_findContours – If linked with findContour node switch to True

Examples

http://kube.pl/wp-content/uploads/2018/01/minAreaRect_11.png http://kube.pl/wp-content/uploads/2018/01/minAreaRect_12.png