Carnon / ncnn-android-yolov5_obb

ncnn android yolov5_obb
6 stars 1 forks source link

yolov5obb.cpp报错 #1

Open zspzhangshoupeng opened 1 year ago

zspzhangshoupeng commented 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); // 对轮廓进行顺时针排序