Commit 1537e091 authored by oscar's avatar oscar

提交更新

parent 2dfc8a90
......@@ -528,6 +528,7 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
else
continue;
objMsg.type = 1;
objMsg.x = objMsg.x + (objMsg.l / 2);
int duplicate = 0;
if (i == 0)
......@@ -614,10 +615,10 @@ void TrackingRos::ThreadTrackingProcess()
data.push_back(obj.w);
data.push_back(obj.h);
input.emplace_back(data);
if (obj.x < 0)
{
SDK_LOG(SDK_INFO, "input========================= x = %f,y = %f", obj.x, obj.y);
}
//if (obj.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