转自 https://blog.csdn.net/mailzst1/article/details/83141632 在OpenCV中,经常要用到minAreaRect()函数求最小外接矩形(旋转矩形)。该函数返回一个RotatedRect类对象。RotatedRect类定义如下: class CV_EXPORTS RotatedRect{public://! various constr
OpenCV对图片中的RotatedRect进行填充 class CV_EXPORTS RotatedRect{public://构造函数RotatedRect();RotatedRect(const Point2f& center, const Size2f& size, float angle);RotatedRect(const CvBox2D& box);void poi