kopia lustrzana https://github.com/OpenDroneMap/ODM
Fix bad lexical cast: source type value could not be interpreted as target
rodzic
9cca1e40f2
commit
ecccceffcc
|
@ -120,15 +120,13 @@ def dem_to_mesh_gridded(inGeotiff, outMesh, maxVertexCount, verbose=False, maxCo
|
||||||
'reconstructmesh': context.omvs_reconstructmesh_path,
|
'reconstructmesh': context.omvs_reconstructmesh_path,
|
||||||
'outfile': outMesh,
|
'outfile': outMesh,
|
||||||
'infile': outMeshDirty,
|
'infile': outMeshDirty,
|
||||||
'max_faces': maxVertexCount * 2,
|
'max_faces': maxVertexCount * 2
|
||||||
'verbose': '-verbose' if verbose else ''
|
|
||||||
}
|
}
|
||||||
|
|
||||||
system.run('{reconstructmesh} -i "{infile}" '
|
system.run('{reconstructmesh} -i "{infile}" '
|
||||||
'-o "{outfile}" '
|
'-o "{outfile}" '
|
||||||
'--remove-spikes 0 --remove-spurious 0 --smooth 0 '
|
'--remove-spikes 0 --remove-spurious 0 --smooth 0 '
|
||||||
'--target-face-num {max_faces} '
|
'--target-face-num {max_faces} '.format(**cleanupArgs))
|
||||||
'{verbose} '.format(**cleanupArgs))
|
|
||||||
|
|
||||||
# Delete intermediate results
|
# Delete intermediate results
|
||||||
os.remove(outMeshDirty)
|
os.remove(outMeshDirty)
|
||||||
|
@ -174,15 +172,13 @@ def screened_poisson_reconstruction(inPointCloud, outMesh, depth = 8, samples =
|
||||||
'reconstructmesh': context.omvs_reconstructmesh_path,
|
'reconstructmesh': context.omvs_reconstructmesh_path,
|
||||||
'outfile': outMesh,
|
'outfile': outMesh,
|
||||||
'infile': outMeshDirty,
|
'infile': outMeshDirty,
|
||||||
'max_faces': maxVertexCount * 2,
|
'max_faces': maxVertexCount * 2
|
||||||
'verbose': '-verbose' if verbose else ''
|
|
||||||
}
|
}
|
||||||
|
|
||||||
system.run('{reconstructmesh} -i "{infile}" '
|
system.run('{reconstructmesh} -i "{infile}" '
|
||||||
'-o "{outfile}" '
|
'-o "{outfile}" '
|
||||||
'--remove-spikes 0 --remove-spurious 0 --smooth 0 '
|
'--remove-spikes 0 --remove-spurious 0 --smooth 0 '
|
||||||
'--target-face-num {max_faces} '
|
'--target-face-num {max_faces} '.format(**cleanupArgs))
|
||||||
'{verbose} '.format(**cleanupArgs))
|
|
||||||
|
|
||||||
# Delete intermediate results
|
# Delete intermediate results
|
||||||
os.remove(outMeshDirty)
|
os.remove(outMeshDirty)
|
||||||
|
|
Ładowanie…
Reference in New Issue