kopia lustrzana https://github.com/OpenDroneMap/ODM
Add --sm-no-align
rodzic
181f9a89ce
commit
4c59bb7c5c
|
@ -731,11 +731,12 @@ def config(argv=None, parser=None):
|
|||
'The file needs to use the following format: \n'
|
||||
'image_name group_name\n'
|
||||
'Default: %(default)s'))
|
||||
# parser.add_argument('--split-multitracks',
|
||||
# action=StoreTrue,
|
||||
# nargs=0,
|
||||
# default=False,
|
||||
# help='Split multi-track reconstructions.')
|
||||
|
||||
parser.add_argument('--sm-no-align',
|
||||
action=StoreTrue,
|
||||
nargs=0,
|
||||
default=False,
|
||||
help='Skip alignment of submodels in split-merge. Useful if GPS is good enough on very large datasets. Default: %(default)s')
|
||||
|
||||
parser.add_argument('--sm-cluster',
|
||||
metavar='<string>',
|
||||
|
|
|
@ -124,14 +124,16 @@ class ODMSplitStage(types.ODM_Stage):
|
|||
|
||||
self.update_progress(50)
|
||||
|
||||
remove_paths = []
|
||||
|
||||
# Align
|
||||
if not args.sm_no_align:
|
||||
octx.align_reconstructions(self.rerun())
|
||||
|
||||
self.update_progress(55)
|
||||
|
||||
# Aligned reconstruction is in reconstruction.aligned.json
|
||||
# We need to rename it to reconstruction.json
|
||||
remove_paths = []
|
||||
for sp in submodel_paths:
|
||||
sp_octx = OSFMContext(sp)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue