PoC keypoint refinement

pull/1631/head
Piero Toffanin 2023-04-14 11:09:04 -04:00
rodzic 2361fce01d
commit 2cf17314bf
2 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -24,8 +24,8 @@ ExternalProject_Add(${_proj_name}
STAMP_DIR ${_SB_BINARY_DIR}/stamp
#--Download step--------------
DOWNLOAD_DIR ${SB_DOWNLOAD_DIR}
GIT_REPOSITORY https://github.com/OpenDroneMap/OpenSfM/
GIT_TAG 305
GIT_REPOSITORY https://github.com/pierotofy/OpenSfM/
GIT_TAG kpref
#--Update/Patch step----------
UPDATE_COMMAND git submodule update --init --recursive
#--Configure step-------------

Wyświetl plik

@ -34,7 +34,12 @@ class ODMOpenSfMStage(types.ODM_Stage):
self.update_progress(20)
octx.feature_matching(self.rerun())
self.update_progress(30)
octx.create_tracks(self.rerun())
shutil.copytree(octx.opensfm_project_path + "/features", octx.opensfm_project_path + "/features.orig")
octx.run("kp_refine")
octx.reconstruct(args.rolling_shutter, reconstruction.is_georeferenced(), self.rerun())
octx.extract_cameras(tree.path("cameras.json"), self.rerun())
self.update_progress(70)