Skip to content

Commit d75ea71

Browse files
Manuel Lopez Antequerafacebook-github-bot
authored andcommitted
Depth pruner should check for clean depth, not raw depth
Summary: x Reviewed By: YanNoun Differential Revision: D28475384 fbshipit-source-id: f4569419469511d3e6914df0f1ba1fe6a0842e35
1 parent 2611eea commit d75ea71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

opensfm/dense.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def load_segmentation_labels(data: UndistortedDataSet, shot):
352352

353353
def add_views_to_depth_pruner(data: UndistortedDataSet, neighbors, dp):
354354
for shot in neighbors:
355-
if not data.raw_depthmap_exists(shot.id):
355+
if not data.clean_depthmap_exists(shot.id):
356356
continue
357357
depth, plane, score = data.load_clean_depthmap(shot.id)
358358
height, width = depth.shape

0 commit comments

Comments
 (0)