From 68636e4ba5025dc397bf9051ec10bdae7880abf9 Mon Sep 17 00:00:00 2001 From: edgarriba Date: Mon, 30 Nov 2015 15:49:52 +0000 Subject: [PATCH] add path to modules binaries --- opendm/context.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/opendm/context.py b/opendm/context.py index afe2eeb5..25ae4ef7 100644 --- a/opendm/context.py +++ b/opendm/context.py @@ -13,12 +13,15 @@ ccd_widths_path = os.path.join(root_path, 'data/ccd_defs.json') pyopencv_path = os.path.join(superbuild_path, 'install/lib/python2.7/dist-packages') sys.path.append(pyopencv_path) -# add opensfm to python path +# define opensfm path opensfm_path = os.path.join(superbuild_path, "src/opensfm") -# add pmvs to python path +# define pmvs path pmvs2_path = os.path.join(superbuild_path, "install/bin/pmvs2") +# define odm modules path +odm_modules_path = os.path.join(root_path, "build/bin") + # Define supported image extensions supported_extensions = {'.jpg','.jpeg','.png'}