Commit 24db6b51 authored by oscar's avatar oscar

提交修改

parent 78456348
...@@ -550,7 +550,7 @@ def Check_Add_Cloud_box(save_cloud,bbox,pcd,pcdName,path,index): ...@@ -550,7 +550,7 @@ def Check_Add_Cloud_box(save_cloud,bbox,pcd,pcdName,path,index):
#查找可以添加的点云 #查找可以添加的点云
interactive = 0 interactive = 0
for box in cloud["boxes"]: for box in cloud["boxes"]:
if abs(bbox[4][0] - box[4][0]) < (bbox[6][0] + box[6][0]) and abs(bbox[4][1] - box[4][1]) < (bbox[6][0] + box[6][0]): if abs(bbox[4][0] - box[4][0]) < (bbox[6][0] + box[6][0])*2/3 and abs(bbox[4][1] - box[4][1]) < (bbox[6][0] + box[6][0])*2/3:
interactive = 1 interactive = 1
if interactive == 1 : if interactive == 1 :
continue continue
......
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