Skip to content

Commit 6c95c01

Browse files
FIX: parameters passed to segmentation function in code.py
1 parent b6427b8 commit 6c95c01

File tree

1 file changed

+3
-2
lines changed
  • src/gh/components/DF_scan_segmentation

1 file changed

+3
-2
lines changed

src/gh/components/DF_scan_segmentation/code.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
def main(model, voxel_size, normal_threshold, min_cluster_size):
77
a = []
88
df_scan = df_cvt.cvt_rhcloud_2_dfcloud(scan)
9-
res = df_bindings.dfb_segmentation.DFSegmentation.segmentation_point_cloud(df_scan, voxel_size, normal_threshold, min_cluster_size)
9+
res = df_bindings.dfb_segmentation.DFSegmentation.segmentation_point_cloud(df_scan, voxel_size, normal_threshold, min_cluster_size, false, 10, knn_neighborhood_size)
1010
print(len(res))
1111
for pc in res:
1212
a.append(pc)
1313
return a
1414

1515
if __name__ == "__main__":
16-
a = main(model, voxel_size, normal_threshold, min_cluster_size)
16+
a = main(model, voxel_size, normal_threshold, min_cluster_size, knn_neighborhood_size)
17+

0 commit comments

Comments
 (0)