kopia lustrzana https://github.com/OpenDroneMap/ODM
Syntax fix, always optimize
rodzic
3f6b8b4936
commit
aa82f76747
|
@ -389,7 +389,7 @@ def config(argv=None, parser=None):
|
|||
help='Filters the point cloud by keeping only a single point around a radius N (in meters). This can be useful to limit the output resolution of the point cloud and remove duplicate points. Set to 0 to disable sampling. '
|
||||
'Default: %(default)s')
|
||||
|
||||
parser.add_argument('--pc-skip-geometric
|
||||
parser.add_argument('--pc-skip-geometric',
|
||||
action=StoreTrue,
|
||||
nargs=0,
|
||||
default=False,
|
||||
|
|
|
@ -95,9 +95,8 @@ class ODMOpenMVSStage(types.ODM_Stage):
|
|||
if masks:
|
||||
extra_config.append("--ignore-mask-label 0")
|
||||
|
||||
sharp = args.pc_skip_geometric
|
||||
with open(densify_ini_file, 'w+') as f:
|
||||
f.write("Optimize = %s\n" % (3 if sharp else 7))
|
||||
f.write("Optimize = 7\n")
|
||||
|
||||
def run_densify():
|
||||
system.run('"%s" "%s" %s' % (context.omvs_densify_path,
|
||||
|
|
Ładowanie…
Reference in New Issue