diff --git a/SuperBuild/cmake/External-OpenSfM.cmake b/SuperBuild/cmake/External-OpenSfM.cmake index 4452d6f3..8fdad0f4 100644 --- a/SuperBuild/cmake/External-OpenSfM.cmake +++ b/SuperBuild/cmake/External-OpenSfM.cmake @@ -9,7 +9,7 @@ ExternalProject_Add(${_proj_name} #--Download step-------------- DOWNLOAD_DIR ${SB_DOWNLOAD_DIR} GIT_REPOSITORY https://github.com/OpenDroneMap/OpenSfM/ - GIT_TAG 230 + GIT_TAG 240 #--Update/Patch step---------- UPDATE_COMMAND git submodule update --init --recursive #--Configure step------------- diff --git a/VERSION b/VERSION index 0bee604d..197c4d5c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.3.3 +2.4.0 diff --git a/requirements.txt b/requirements.txt index a082dafd..8c852e51 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,4 +26,4 @@ scikit-learn==0.23.2 scikit-image==0.17.2 scipy==1.5.4 xmltodict==0.12.0 - +fpdf2==2.2.0rc2 diff --git a/stages/openmvs.py b/stages/openmvs.py index c583831e..72f946ef 100644 --- a/stages/openmvs.py +++ b/stages/openmvs.py @@ -41,7 +41,7 @@ class ODMOpenMVSStage(types.ODM_Stage): if outputs["undist_image_max_size"] <= depthmap_resolution: resolution_level = 0 else: - resolution_level = math.floor(math.log(outputs['undist_image_max_size'] / float(depthmap_resolution)) / math.log(2)) + resolution_level = int(round(math.log(outputs['undist_image_max_size'] / float(depthmap_resolution)) / math.log(2))) config = [ " --resolution-level %s" % int(resolution_level),