Commit ab9e0b9b authored by wangqibing's avatar wangqibing

data.size():9-->10

parent a88311b8
......@@ -201,9 +201,9 @@ float calcIOU(cv::RotatedRect rect1, cv::RotatedRect rect2) {
double Track3D::CalculateIou(const std::vector<float>& data)
{
if (data.size() != 9)
if (data.size() != 10)//add 置信度9->10
{
SDK_LOG(SDK_INFO, "CalculateIou data size != 9");
SDK_LOG(SDK_INFO, "CalculateIou data size != 10");
return 0.0f;
}
if (m_obj == nullptr)
......
......@@ -243,7 +243,7 @@ double Track3DEx::CalculateIou(const std::vector<float>& data)
{
if (data.size() != 13)
{
// SDK_LOG(SDK_INFO, "CalculateIou data size != 9");
// SDK_LOG(SDK_INFO, "CalculateIou data size != 13");
return 0.0f;
}
if (m_obj == nullptr)
......
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