Ask Your Question

Revision history [back]

How to combine multiple cv::RotatedRect objects?

I have several rotated rects obtained from cv::minAreaRect(contour). Now I want to combine some of them to create a single rotated rect that encompasses the ones that interest me.

Looking at the class reference for rotated rects, it contains not much, making me think I'm looking at the wrong docs.

Low karma wont let me post links, but these are the docs I was looking at: - http :// docs.opencv.org/trunk/db/dd6/classcv_1_1RotatedRect.html

How would I go about combining them?