Commit 1e3afd5a authored by oscar's avatar oscar

提交修改

parent c9919570
......@@ -285,7 +285,7 @@ void BaseTracker<T>::AssociateDetectionsToTrackers(const std::vector<std::vector
for (int j = 0; j < tracker_states.size(); j++)
{
float* i_ptr = iou_ptr.get();
if (det_type[i] == tracker_type[j])
if (1)//det_type[i] == tracker_type[j])
{
iou_matrix[i][j] = i_ptr[i * tracker_states.size() + j];
}
......@@ -310,7 +310,7 @@ void BaseTracker<T>::AssociateDetectionsToTrackers(const std::vector<std::vector
if (0 == association[i][j])
{
// Filter out matched with low IOU
SDK_LOG(SDK_INFO, "match info i = %d,j = %d, iou_matrix = %f, m_iou_threshold = %f",i,j, iou_matrix[i][j], trk.second->m_iou_threshold);
//SDK_LOG(SDK_INFO, "match info i = %d,j = %d, iou_matrix = %f, m_iou_threshold = %f",i,j, iou_matrix[i][j], trk.second->m_iou_threshold);
if (iou_matrix[i][j] >= trk.second->m_iou_threshold)
{
matched[trk.first] = 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