Opencv里这两个类一直傻傻分不清楚,因为写代码需要经常用到,仔细查过之后做个小总结。
RotatedRect
RotatedRect表示的是旋转矩形。
class CV_EXPORTS RotatedRect
{
public:
RotatedRect();
RotatedRect(const Point2f& center, const Size2f& size, float angle);
RotatedRect(const CvBox2D& box);
void points(Point2f pts[])<