kopia lustrzana https://github.com/OpenDroneMap/ODM
rodzic
9b40dbbb42
commit
b81f829afc
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
0.8.0
|
0.8.1
|
||||||
|
|
|
@ -200,7 +200,7 @@ class OSFMContext:
|
||||||
try:
|
try:
|
||||||
reconstruction_file = self.path("reconstruction.json")
|
reconstruction_file = self.path("reconstruction.json")
|
||||||
with open(output, 'w') as fout:
|
with open(output, 'w') as fout:
|
||||||
fout.write(json.dumps(camera.get_cameras_from_opensfm(reconstruction_file)))
|
fout.write(json.dumps(camera.get_cameras_from_opensfm(reconstruction_file), indent=4))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.ODM_WARNING("Cannot export cameras to %s. %s." % (output, str(e)))
|
log.ODM_WARNING("Cannot export cameras to %s. %s." % (output, str(e)))
|
||||||
else:
|
else:
|
||||||
|
|
Ładowanie…
Reference in New Issue