Commit 62f2c4c4 authored by oscar's avatar oscar

提交更新

parent 05e4f0fd
......@@ -554,7 +554,7 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
}
}
//SDK_LOG(SDK_INFO, "m_objsQueue push size = %d", objsPtr->array.size());
SDK_LOG(SDK_INFO, "m_objsQueue push size = %d", objsPtr->array.size());
m_objsQueue.push(objsPtr);
//if(cloudPtr)
// m_pubCloud.publish(cloudPtr->cloud);
......@@ -599,7 +599,7 @@ void TrackingRos::ThreadTrackingProcess()
nvtxRangePush("ThreadTrackingProcess");
#endif
m_frameNum++;
//SDK_LOG(SDK_INFO, "get objs size = %d,m_frameNum = %d",objsPtr->array.size(), m_frameNum);
SDK_LOG(SDK_INFO, "get objs size = %d,m_frameNum = %d",objsPtr->array.size(), m_frameNum);
std::vector< std::vector<float> > input;
for (int i = 0; i < objsPtr->array.size(); i++)
{
......@@ -614,6 +614,10 @@ void TrackingRos::ThreadTrackingProcess()
data.push_back(obj.w);
data.push_back(obj.h);
input.emplace_back(data);
if (x < 0)
{
SDK_LOG(SDK_INFO, "input========================= x = %f,y = %f", obj.x, obj.y);
}
}
std::vector<uint64_t> detectionsId;
std::map<uint64_t, int> updateId;
......
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