From de4bd062ec9e4cebb605048266c4c67c6b3790c9 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Sat, 28 Jan 2023 13:12:40 -0500 Subject: [PATCH] Expose capture_time to shots.geojson --- opendm/shots.py | 1 + 1 file changed, 1 insertion(+) diff --git a/opendm/shots.py b/opendm/shots.py index b3956ee3..ad19e398 100644 --- a/opendm/shots.py +++ b/opendm/shots.py @@ -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) },