kopia lustrzana https://github.com/OpenDroneMap/ODM
rodzic
83fd8a8557
commit
9e08dbab52
|
@ -9,7 +9,7 @@ from opendm import context
|
|||
class ODMMveCell(ecto.Cell):
|
||||
def declare_params(self, params):
|
||||
params.declare("mve_output_scale", "scale of optimization", 2)
|
||||
#params.declare("threads", "max number of threads", context.num_cores)
|
||||
# params.declare("threads", "max number of threads", context.num_cores)
|
||||
|
||||
def declare_io(self, params, inputs, outputs):
|
||||
inputs.declare("tree", "Struct with paths", [])
|
||||
|
@ -64,10 +64,11 @@ class ODMMveCell(ecto.Cell):
|
|||
if not io.dir_exists(tree.mve_views):
|
||||
system.run('%s %s %s' % (context.makescene_path, tree.mve_path, tree.mve))
|
||||
|
||||
print(args)
|
||||
|
||||
# config
|
||||
config = [
|
||||
#"-t%s" % self.params.threads,
|
||||
"-s%s" % self.args.mve_output_scale
|
||||
"-s%s" % args.mve_output_scale
|
||||
]
|
||||
|
||||
# run mve
|
||||
|
|
Ładowanie…
Reference in New Issue