kopia lustrzana https://github.com/OpenDroneMap/ODM
rodzic
9fefe04256
commit
83fd8a8557
|
@ -8,7 +8,7 @@ from opendm import context
|
||||||
|
|
||||||
class ODMMveCell(ecto.Cell):
|
class ODMMveCell(ecto.Cell):
|
||||||
def declare_params(self, params):
|
def declare_params(self, params):
|
||||||
params.declare("output_scale", "scale of optimization", 2)
|
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):
|
def declare_io(self, params, inputs, outputs):
|
||||||
|
|
|
@ -50,7 +50,7 @@ class ODMApp(ecto.BlackBox):
|
||||||
hybrid_bundle_adjustment=p.args.use_hybrid_bundle_adjustment),
|
hybrid_bundle_adjustment=p.args.use_hybrid_bundle_adjustment),
|
||||||
'slam': ODMSlamCell(),
|
'slam': ODMSlamCell(),
|
||||||
|
|
||||||
'mve': ODMMveCell(output_scale=p.args.mve_output_scale,
|
'mve': ODMMveCell(mve_output_scale=p.args.mve_output_scale,
|
||||||
threads=p.args.max_concurrency),
|
threads=p.args.max_concurrency),
|
||||||
|
|
||||||
'meshing': ODMeshingCell(max_vertex=p.args.mesh_size,
|
'meshing': ODMeshingCell(max_vertex=p.args.mesh_size,
|
||||||
|
|
Ładowanie…
Reference in New Issue