Capture Start and End Times

This has been mentioned a couple of times, but I dont think it was ever put into the ‘Ideas and Proposals’ category.
I think it would be more useful to us (as image processors) and to any clients that might receive our Quality Report, if the Capture Start and End times were not converted to UTC. They could be reported in whichever time zone the images are captured.

Here is a link to a closed thread that raised the same issue.

4 Likes

The issue is that camera manufacturers are not consistent in storing date information; for example, some of them store it in the local timezone, others in UTC. The values you see are extracted directly from the images, ODM doesn’t convert it because of this.

So if the time/date is wrong, it’s because it’s (probably) wrong in the images as well.

1 Like

Clearly something is being done within ODM, as I mentioned in the thread quoted above, because here is the EXIF from the first of a set of images taken with my phone on Saturday afternoon at 1pm (03:00 UTC), yet the report says it was taken 10 hours later at 11pm (=13:00 UTC).

ODM QUALITY REPORT
|Date|24/09/2023 at 07:53:12|
|Area Covered|0.000536 km²|
|Processing Time|24.0m:39.0s|
|Capture Start|23/09/2023 at 23:00:00|
|Capture End|23/09/2023 at 23:01:39|

2 Likes

I agree with Gordon
Here are screenshots of the 1st image, last image and Quality Report.
I am in Central Time, USA and the time difference is 5 hrs which will be UTC.

2 Likes

Here in the UK, the report shows the time as BST(which is what we are on at the moment), the file properties show it as GMT

2 Likes

I wonder if this is due to OpenSfM’s code which calls fromtimestamp:

stats["start_date"] = datetime.datetime.fromtimestamp(start_ct).strftime("%d/%m/%Y at %H:%M:%S")
stats["end_date"] = datetime.datetime.fromtimestamp(end_ct).strftime("%d/%m/%Y at %H:%M:%S")

Which returns the local time. This would explain why this probably just happens on Windows and not docker, where I tested (on docker the timezone is UTC).

2 Likes
4 Likes

I can report I’m seeing the correct daylight savings time for image capture in the report now, with the current Windows native release :slight_smile:

I guess the bug is fixed!

3 Likes