Open zspzhangshoupeng opened 1 year ago
IOUCalculate这个函数没有被called,rotatedRectangleIntersection没有被申明。 float IOUCalculate(BoxRotated &box_a, BoxRotated &box_b) { std::vector<cv::Point2f> intersectingRegion; rotatedRectangleIntersection(box_a.rotatedRect, box_b.rotatedRect, intersectingRegion); // 对轮廓进行顺时针排序
float IOUCalculate(BoxRotated &box_a, BoxRotated &box_b) { std::vector<cv::Point2f> intersectingRegion; rotatedRectangleIntersection(box_a.rotatedRect, box_b.rotatedRect, intersectingRegion); // 对轮廓进行顺时针排序
IOUCalculate这个函数没有被called,rotatedRectangleIntersection没有被申明。
float IOUCalculate(BoxRotated &box_a, BoxRotated &box_b) { std::vector<cv::Point2f> intersectingRegion; rotatedRectangleIntersection(box_a.rotatedRect, box_b.rotatedRect, intersectingRegion); // 对轮廓进行顺时针排序