Commit 421e66f6 authored by oscar's avatar oscar

更新

parent 8020c8b1
...@@ -284,8 +284,8 @@ public: ...@@ -284,8 +284,8 @@ public:
if (iter.second->IsValid() && iter.second->GetStateData(data) == 0) //初始obj更新跟踪的推理结果 if (iter.second->IsValid() && iter.second->GetStateData(data) == 0) //初始obj更新跟踪的推理结果
{ {
is_need_send = 1; is_need_send = 1;
int bcenter_x = data[0] + data[2] / 2; int bcenter_x = data[0] ;
int bcenter_y = data[1] + data[3]; int bcenter_y = data[1] + data[3]/2;
vector<float> r; vector<float> r;
double lat = 0, lon = 0; double lat = 0, lon = 0;
int ret = trackResPtr->transUV.Process(static_cast<double>(bcenter_x), static_cast<double>(bcenter_y), r); int ret = trackResPtr->transUV.Process(static_cast<double>(bcenter_x), static_cast<double>(bcenter_y), r);
......
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