kopia lustrzana https://github.com/OpenDroneMap/ODM
Reconstruct only primary band in multi-camera setup
rodzic
1d21cb1657
commit
3d383ab265
|
@ -29,7 +29,13 @@ class ODMMveStage(types.ODM_Stage):
|
|||
|
||||
# run mve makescene
|
||||
if not io.dir_exists(tree.mve_views):
|
||||
system.run('%s "%s" "%s"' % (context.makescene_path, tree.opensfm_reconstruction_nvm, tree.mve), env_vars={'OMP_NUM_THREADS': args.max_concurrency})
|
||||
nvm_file = tree.opensfm_reconstruction_nvm
|
||||
if reconstruction.multi_camera:
|
||||
# Reconstruct only the primary band
|
||||
primary = reconstruction.multi_camera[0]
|
||||
nvm_file = os.path.join(tree.opensfm, "undistorted", "reconstruction_%s.nvm" % primary['name'].lower())
|
||||
|
||||
system.run('%s "%s" "%s"' % (context.makescene_path, nvm_file, tree.mve), env_vars={'OMP_NUM_THREADS': args.max_concurrency})
|
||||
|
||||
self.update_progress(10)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue