Expose capture_time to shots.geojson

pull/1589/head
Piero Toffanin 2023-01-28 13:12:40 -05:00
rodzic 28e51a4901
commit de4bd062ec
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -107,6 +107,7 @@ def get_geojson_shots_from_opensfm(reconstruction_file, utm_srs=None, utm_offset
'focal': cam.get('focal', cam.get('focal_x')), # Focal ratio = focal length (mm) / max(sensor_width, sensor_height) (mm)
'width': cam.get('width', 0),
'height': cam.get('height', 0),
'capture_time': shot.get('capture_time', 0),
'translation': list(translation),
'rotation': list(rotation)
},