diff --git a/src/reprocessing_module/snapshot_reprocessing.cpp b/src/reprocessing_module/snapshot_reprocessing.cpp index 0d2cafd..3071f2d 100755 --- a/src/reprocessing_module/snapshot_reprocessing.cpp +++ b/src/reprocessing_module/snapshot_reprocessing.cpp @@ -94,14 +94,14 @@ void snapshot_reprocessing::update_bestsnapshot(vector vec_devMem int cur_real_height = (obj_info.bottom - obj_info.top); int cur_real_index = obj_info.index; - int expansion_width = cur_real_width * EXPANSION_PROPORTION; - int expansion_height = cur_real_height * EXPANSION_PROPORTION; + int expansion_width = 0;//cur_real_width * EXPANSION_PROPORTION; + int expansion_height = 0;//cur_real_height * EXPANSION_PROPORTION; // DEBUG----------------------------------------------------------------- // 0-行人 1-自行车 2-摩托车 3-三轮车 4-小型车 5-大车 6-卡车 7-拖拉机 8-中巴 - if(index ==0 || index ==1 || index ==2 || index ==3) { //行人和非机动车外扩指定像素即可 - expansion_width = 10; - expansion_height = 10; - } + // if(index ==0 || index ==1 || index ==2 || index ==3) { //行人和非机动车外扩指定像素即可 + // expansion_width = 10; + // expansion_height = 10; + // } /* 若该目标第一次出现 */ if (total_snapshot_info.find(new_obj) == total_snapshot_info.end())