Commit 84bb9e33 authored by wanghailong's avatar wanghailong

2D跟踪

parent 6e14a134
......@@ -494,7 +494,7 @@ void BaseTracker<T>::AssociateDetectionsToTrackersEx(const std::vector<std::vect
}
return;
}
if (dets_high.size() > 0)
if (dets_high.size() > 0) //高分检测不能为空
{
std::vector<std::vector<float>> iou_matrix_high;
// resize IOU matrix based on number of detection and tracks
......@@ -547,7 +547,7 @@ void BaseTracker<T>::AssociateDetectionsToTrackersEx(const std::vector<std::vect
}
}
if (dets_low.size() > 0 && tracks.size() - high_matched.size() > 0)
if (dets_low.size() > 0 && tracks.size() - high_matched.size() > 0) //低分检测不能为空且总跟踪目标减高分检测不能为空
{
std::vector<std::vector<float>> iou_matrix_low;
// resize IOU matrix based on number of detection and tracks
......
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