01

Clocks and railways

Railway stations have long relied on accurate clocks. In the 19th century, different towns kept their own local time, which caused confusion for railway timetables. In 1847, Britain's railways began adopting a single standard time based on Greenwich, and standard time was later adopted across the country.

02

Reading a clock by camera

A computer vision model can read the time shown on a clock in a photograph. Digital cameras and phones also record a timestamp, the time the photo was taken according to the device's own clock. Comparing the two might seem a good way to check whether the station clock is accurate.

03

A disagreement

Suppose the station clock in a photograph shows 10:00, while the camera's timestamp says 10:02. There is a two-minute disagreement. But which clock is wrong? The station clock might be two minutes slow, or the camera might be two minutes fast. Both explanations fit the numbers equally well.

04

Two unknowns

The comparison involves two instruments, each of which might be wrong. With only the two readings, there is no way to know which one to trust. Blaming the station clock would be a guess, not a measurement.

05

An independent reference

To resolve the problem, at least one time source must be checked against a trusted reference. For example, the camera's clock can be compared with an accurate time signal, such as a time service on the internet, a radio time signal or a GPS receiver. Once the camera's error is known, it can be corrected.

06

Measuring the offset

With a calibrated camera, the station clock's error can be calculated: the time displayed on the clock minus the reference time when the photo was taken. This is called the clock offset. A positive offset means the clock is fast, a negative one that it is slow.

07

Time zones and settings

Camera timestamps can also be wrong because of incorrect time zone settings, or because the clock was not adjusted for daylight saving time. A one-hour difference might be a time-zone mistake rather than a faulty clock. These settings must be checked before drawing conclusions.

08

Reading the clock itself

The model must also read the station clock correctly. Errors in reading the hands, especially near the hour, would add to the apparent offset. Testing the clock reader separately, on clocks set to known times, ensures that measured offsets come from the clock and not from the reader.

09

Station clocks today

Many modern station clocks are synchronised automatically using radio signals or networks linked to atomic time, so they are usually very accurate. A measured offset of more than a few seconds might indicate a fault. Some famous station clocks, such as those at King's Cross, are also historic features of their buildings.

10

Responsible measurement

The NIST AI Risk Management Framework encourages developers to make sure measurements are traceable to reliable references. Calibrating the camera before blaming the clock is an everyday example of this principle.

11

Delays in saving

Some cameras record the timestamp when the image is saved rather than the instant the shutter opens, adding a small delay. Phones may also take bursts of pictures. Knowing exactly how the device records time helps avoid small but systematic errors when measuring a clock's offset.

12

Multiple photos

Several photos taken over time reveal whether an offset stays constant.

13

Clock drift

Ordinary quartz clocks drift slowly, gaining or losing a few seconds each week, unless they are corrected.

14

Recording the reference

Note the reference source used, so others can repeat the check.

15

Try the arithmetic

If a camera is found to be 2 minutes 30 seconds fast, and its timestamp reads 10:02:00 when the clock shows 10:00:00, the true time was 9:59:30, so the station clock is 30 seconds fast.

16

The idea to take away

A clock photographed at 10:00 can appear late if the camera's timestamp is fast. Comparing two numbers cannot show which instrument is wrong. Checking one time source independently turns the disagreement into a measurable clock offset.

FOLLOW THE EVIDENCE

Sources & further reading

Figures in the example are illustrative. Photograph: Clock in Kings Cross.jpg by Oxyman, CC BY-SA 3.0, via Wikimedia Commons; cropped and resized. Reference organisations do not endorse this website.