Commit 7893b732 authored by oscar's avatar oscar

加大配置的宽度

parent c009573f
......@@ -220,7 +220,7 @@ double Track3D::CalculateIou(const std::vector<float>& data)
//double i3d_iou = CuboidIoU(truth_poses, landmark_poses);
float v = sqrt(states[7] * states[7] + states[8] * states[8]);
cv::RotatedRect rect1 = cv::RotatedRect(cv::Point2f(states[0], states[1]), cv::Size2f(states[4] + v, states[5]), states[3]*180 / 3.1415926);
cv::RotatedRect rect1 = cv::RotatedRect(cv::Point2f(states[0], states[1]), cv::Size2f(states[4] + v, states[5]*1.5f), states[3]*180 / 3.1415926);
cv::RotatedRect rect2 = cv::RotatedRect(cv::Point2f(data[1], data[2]), cv::Size2f(data[5], data[6]), data[4]*180/3.1415926);
uint64_t begin = GetCurTime();
......
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