kopia lustrzana https://github.com/OpenDroneMap/ODM
rodzic
902de7c424
commit
62e0dc3e6a
|
@ -42,13 +42,17 @@ class ODMOrthoPhotoCell(ecto.Cell):
|
|||
# odm_orthophoto definitions
|
||||
kwargs = {
|
||||
'bin': context.odm_modules_path,
|
||||
'model_geo': tree.odm_georeferencing_model_obj_geo,
|
||||
'log': tree.odm_orthophoto_log,
|
||||
'ortho': tree.odm_orthophoto_file,
|
||||
'corners': tree.odm_orthophoto_corners,
|
||||
'res': self.params.resolution
|
||||
}
|
||||
|
||||
kwargs['model_geo'] = tree.odm_georeferencing_model_obj_geo \
|
||||
if io.file_exists(tree.odm_georeferencing_coords) \
|
||||
else tree.odm_textured_model_obj
|
||||
|
||||
|
||||
# run odm_orthophoto
|
||||
system.run('{bin}/odm_orthophoto -inputFile {model_geo} '
|
||||
'-logFile {log} -outputFile {ortho} -resolution {res} '
|
||||
|
|
Ładowanie…
Reference in New Issue