Commit 14b44c60 authored by oscar's avatar oscar

添加打印

parent 72bb28e4
......@@ -227,6 +227,17 @@ void BaseTracker<T>::AssociateDetectionsToTrackers(const std::vector<std::vector
}
// Find association
std::string str;
for (int i = 0; i < detections.size(); i++)
{
for (int j = 0; j < tracks.size(); j++)
{
char log[128] = {};
sprintf(log, "%f,", iou_matrix[i][j]);
str += log;
}
}
SDK_LOG(SDK_INFO, "iou_matrix = [%s]",str.c_str());
HungarianMatching(iou_matrix, detections.size(), tracks.size(), association);
for (size_t i = 0; i < detections.size(); i++)
......
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