kopia lustrzana https://github.com/OpenDroneMap/ODM
add missing logic
rodzic
e997e13e75
commit
999434e161
|
@ -95,12 +95,12 @@ class ODMOpenMVSStage(types.ODM_Stage):
|
||||||
if masks:
|
if masks:
|
||||||
extra_config.append("--ignore-mask-label 0")
|
extra_config.append("--ignore-mask-label 0")
|
||||||
|
|
||||||
sharp = args.pc_geometric
|
sharp = args.pc_skip_geometric
|
||||||
with open(densify_ini_file, 'w+') as f:
|
with open(densify_ini_file, 'w+') as f:
|
||||||
f.write("Optimize = 7\n")
|
f.write("Optimize = %s\n" % (3 if sharp else 7))
|
||||||
|
|
||||||
def run_densify():
|
def run_densify():
|
||||||
system.run('"%s" "%s" %s' % (context.omvs_densify_path,
|
.run('"%s" "%s" %s' % (context.omvs_densify_path,
|
||||||
openmvs_scene_file,
|
openmvs_scene_file,
|
||||||
' '.join(config + gpu_config + extra_config)))
|
' '.join(config + gpu_config + extra_config)))
|
||||||
try:
|
try:
|
||||||
|
|
Ładowanie…
Reference in New Issue