学习OpenCV:rotatedRectangleIntersection计算两个旋转矩形的交集面积
如图所示,计算两个旋转矩形相交重合区域的顶点,最多返回8个顶点。通过contourArea可返回该顶点集合的面积。voidDrawPointSet(Mat&imgInoutput,vectorvecPoint,intradius,constScalar&color,intthickness=1,intlineType=LINE_8);voidDrawRotatedRect(Mat&imgInout