Commit 89b5eb7d authored by oscar's avatar oscar

提交测试

parent 39e17709
......@@ -150,15 +150,15 @@ void BaseTracker<T>::AssociateDetectionsToTrackers(const std::vector<std::vector
}
else
{
//std::vector<std::vector<float> > tracker_states;
//for (auto& iter : tracks)
//{
// std::vector<float> measure;
// if (iter.second->GetMeasureData(measure) == 0)
// {
// tracker_states.emplace_back(measure);
// }
//}
std::vector<std::vector<float> > tracker_states;
for (auto& iter : tracks)
{
std::vector<float> measure;
if (iter.second->GetMeasureData(measure) == 0)
{
tracker_states.emplace_back(measure);
}
}
//int detect_size = detections.size() * (detections.size() > 0 ? detections[0].size() : 0);
//int tracker_size = tracker_states.size() * (tracker_states.size() > 0 ? tracker_states[0].size() : 0);
//int iou_size = detections.size() * tracker_states.size();
......
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