Commit b6641a60 authored by oscar's avatar oscar

提交把float修改位double类型

parent 587f3fe9
......@@ -118,7 +118,7 @@ float calcIntersectionRate(cv::RotatedRect rect1, cv::RotatedRect rect2)
return iou_2d;
}
double calculate_angle(std::vector<std::vector<float>>& points)
double calculate_angle(std::vector<std::vector<double>>& points)
{
if (points.size() < 5)
return 0;
......
......@@ -20,4 +20,4 @@ double calcIntersectionArea(cv::RotatedRect rect1, cv::RotatedRect rect2);
float calcIntersectionRate(cv::RotatedRect rect1, cv::RotatedRect rect2);
double calculate_angle(std::vector<std::vector<float>>& points)
double calculate_angle(std::vector<std::vector<double>>& points)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment