From 91a66169fc0aae72177ef9f3a1023e6d8e251628 Mon Sep 17 00:00:00 2001 From: Stephen Mather Date: Mon, 3 Dec 2018 04:14:58 +0000 Subject: [PATCH] finish prospective mve changes --- opendm/context.py | 2 +- scripts/mve.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opendm/context.py b/opendm/context.py index 384892f1..4ba0c4c6 100644 --- a/opendm/context.py +++ b/opendm/context.py @@ -26,7 +26,7 @@ orb_slam2_path = os.path.join(superbuild_path, "src/orb_slam2") # define mve join_paths makescene_path = os.path.join(superbuild_path, 'src', 'elibs', 'mve', 'apps', 'makescene', 'makescene') #TODO: don't install in source mve_path = os.path.join(superbuild_path, 'src', 'elibs', 'mve', 'apps', 'dmrecon', 'dmrecon') -mve_path_pc = os.path.join(superbuild_path, 'src', 'elibs', 'mve', 'apps', 'scene2pset', 'scene2pset') +mve_path_pc = os.path.join(superbuild_path, 'src', 'elibs', 'mve', 'apps', 'scene2pset', 'scene2pset -F2') poisson_recon_path = os.path.join(superbuild_path, 'src', 'PoissonRecon', 'Bin', 'Linux', 'PoissonRecon') dem2mesh_path = os.path.join(superbuild_path, 'src', 'dem2mesh', 'dem2mesh') diff --git a/scripts/mve.py b/scripts/mve.py index 5489be8d..df78fa53 100644 --- a/scripts/mve.py +++ b/scripts/mve.py @@ -69,7 +69,7 @@ class ODMMveCell(ecto.Cell): # run mve system.run('%s %s %s' % (context.mve_path, ' '.join(config), tree.mve)) - system.run('%s %s %s' % (context.mve_path_pc, ' '.join(config), tree.mve)) + system.run('%s %s %s %s' % (context.mve_path_pc, ' '.join(config), tree.mve, tree.mve_model)) # find and rename the output file for simplicity mve_files = glob.glob(os.path.join(tree.mve, 'mve-*'))