Two clocks in one
A chess clock contains two linked clocks, one for each player. When a player makes a move, they press a button, which stops their own clock and starts their opponent's. Each player has a fixed amount of time for the game, and the clock shows how much remains on each side.
Reading by camera
In tournaments and online broadcasts, cameras may record the clock so viewers can see each player's remaining time. A computer vision system can read the digits from images. Its job is not only to read the numbers, but to link each time to the correct player.
A swapped reading
Imagine the system reads 12:05 on the left display and 8:30 on the right, but reports them the other way round. Every digit is correct, yet the result is wrong: the viewer would think the wrong player is short of time. Digit accuracy alone would not reveal this error.
Paired labels
To avoid this, each label should store the side and the reading together: for example, left: 12:05 and right: 8:30. The model's output is compared with these pairs. A reading only counts as correct if each time is linked to its proper side.
Two scores
A useful evaluation reports two scores: how accurately the digits are read, and how often the times are assigned to the correct sides. A model could score highly on digits but poorly on side assignment, which would point to a problem in how it handles positions in the image.
The mirror-image test
A mirror-image test places the clock the other way round, or photographs it from the opposite side of the table. The convention for which side is left may then change, depending on how the system defines it. Testing these setups shows whether the software truly follows the specified convention.
Defining the convention
Before testing, it must be clear what left and right mean. Is it left from the camera's view, or the left player's clock? Is it linked to the colour of the pieces each player has? A clear definition is needed, otherwise even a perfect model could appear wrong.
Other displays
Many digital chess clocks show extra information, such as move counters, time increments added after each move, or symbols showing whose turn it is. The model should be tested on different clock models and display modes to make sure it reads the right information.
Similar problems elsewhere
Linking values to the correct place is important in many tasks: reading the scores of two teams on a scoreboard, the readings on a dual gauge, or the prices on a shelf label. In each case, correct values in the wrong places can be as misleading as wrong values.
Testing what matters
The NIST AI Risk Management Framework encourages developers to identify the errors that matter most for their application. For a chess clock reader, assigning time to the wrong player is a key error, so it should be measured directly.
Glare on screens
Digital displays can reflect lamps and windows, washing out some digits. Tests should include glare, so the system's ability to read partly obscured numbers is known.
Analogue clocks
Older chess clocks use two analogue faces with small flags.
Increments and delays
Many games add a few seconds to a player's clock after each move, an increment, so times can rise as well as fall. A system that assumes clocks only count down could misjudge readings. Testing with games that use increments checks that the system reads whatever the display shows.
Try the arithmetic
If a system reads all digits correctly in 100 images but swaps the sides in 7 of them, its digit accuracy is 100 per cent while its complete reading accuracy is only 93 per cent.
The idea to take away
A system can read every digit correctly and still give each player the other's time. Store side and reading as paired labels, score side assignment separately, and use mirror-image tests to check the left-right convention.
Sources & further reading
- Wikipedia: Chess clock ↗
- Wikipedia: Optical character recognition ↗
- NIST: AI Risk Management Framework ↗
Figures in the example are illustrative. Photograph: original AI-generated illustration (Adobe Firefly), created for this story. Reference organisations do not endorse this website.

