Commit 78456348 authored by oscar's avatar oscar

提交修改

parent 19217ddf
......@@ -565,8 +565,9 @@ def Check_Add_Cloud_box(save_cloud,bbox,pcd,pcdName,path,index):
save_cloud[0]["isSave"] = 1
elif index == 1 and len(save_cloud) >= 100 :
save_cloud[0]["isSave"] = 1
max_cloud_list_num = 200
if add_idx == -1:
if len(save_cloud) < 60:
if len(save_cloud) < max_cloud_list_num:
new_cloud = {}
new_cloud["np_pcd"] = np.array(pcd.points)
new_cloud["boxes"] = []
......@@ -576,10 +577,10 @@ def Check_Add_Cloud_box(save_cloud,bbox,pcd,pcdName,path,index):
save_cloud.append(new_cloud)
add_idx = len(save_cloud) - 1;
else:
print(" save_cloud is too big > 100")
print(" save_cloud is too big > ",max_cloud_list_num)
return add_idx
Thread_NUM =3
Thread_NUM = 10
threads = []
threadID = 1
......
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