Spaces:
Sleeping
Sleeping
fix: Update backend
Browse files- backend_utils.py +2 -2
backend_utils.py
CHANGED
@@ -93,7 +93,7 @@ def combine_and_clean_point_clouds(pcds, voxel_size):
|
|
93 |
|
94 |
def improved_multiway_registration(pcds, descriptors=None, voxel_size=0.05,
|
95 |
max_correspondence_distance_coarse=None, max_correspondence_distance_fine=None,
|
96 |
-
overlap=5, quadratic_overlap=False, use_colored_icp=
|
97 |
if max_correspondence_distance_coarse is None:
|
98 |
max_correspondence_distance_coarse = voxel_size * 1.5
|
99 |
if max_correspondence_distance_fine is None:
|
@@ -117,7 +117,7 @@ def improved_multiway_registration(pcds, descriptors=None, voxel_size=0.05,
|
|
117 |
|
118 |
|
119 |
fitness = icp_fine.fitness
|
120 |
-
FITNESS_THRESHOLD = 0.
|
121 |
|
122 |
if fitness >= FITNESS_THRESHOLD:
|
123 |
current_transformation = icp_fine.transformation
|
|
|
93 |
|
94 |
def improved_multiway_registration(pcds, descriptors=None, voxel_size=0.05,
|
95 |
max_correspondence_distance_coarse=None, max_correspondence_distance_fine=None,
|
96 |
+
overlap=5, quadratic_overlap=False, use_colored_icp=True):
|
97 |
if max_correspondence_distance_coarse is None:
|
98 |
max_correspondence_distance_coarse = voxel_size * 1.5
|
99 |
if max_correspondence_distance_fine is None:
|
|
|
117 |
|
118 |
|
119 |
fitness = icp_fine.fitness
|
120 |
+
FITNESS_THRESHOLD = 0.0001
|
121 |
|
122 |
if fitness >= FITNESS_THRESHOLD:
|
123 |
current_transformation = icp_fine.transformation
|