kopia lustrzana https://github.com/OpenDroneMap/ODM
Catch poissonrecon run exceptions
rodzic
9fe8be2773
commit
d827ee62d7
|
@ -168,6 +168,7 @@ def screened_poisson_reconstruction(inPointCloud, outMesh, depth = 8, samples =
|
|||
}
|
||||
|
||||
# Run PoissonRecon
|
||||
try:
|
||||
system.run('"{bin}" --in "{infile}" '
|
||||
'--out "{outfile}" '
|
||||
'--depth {depth} '
|
||||
|
@ -178,6 +179,8 @@ def screened_poisson_reconstruction(inPointCloud, outMesh, depth = 8, samples =
|
|||
'--bType 2 '
|
||||
'--linearFit '
|
||||
'{verbose}'.format(**poissonReconArgs))
|
||||
except Exception as e:
|
||||
log.ODM_WARNING(str(e))
|
||||
|
||||
if os.path.isfile(outMeshDirty):
|
||||
break # Done!
|
||||
|
|
Ładowanie…
Reference in New Issue