Calibration board
Enter the PPI first

1 · Screen pixel density

Enter the pixel density across and down (pixels per inch): the manufacturer states one number for the model, and a screen's pixels are usually square, so enter it twice, or leave the second empty for the same. A phone's own xdpi and ydpi are worked out from a panel size rounded to the millimetre and can make the squares of the board not square: use them only if you trust them. Anything within about 1 % is good enough here: the camera measures the squares afterwards, and a known length (the block) sets the true scale.

Keep the browser zoom at 100 %. This page draws in whole physical pixels (device pixel ratio ).

2 · The board

Filled in for this screen (grey): about 12 squares along the long side. Change any of them and the others follow (white: your choice; empty it to make it automatic again). A size aimed at becomes the nearest whole number of screen pixels. The small pattern inside one white square near the middle carries the square size: Gnomon reads it from the camera picture, nothing to type. It keeps clear of the square's corners, so every corner still counts for the calibration.

Squares– Square size–

The square size is not a round number on purpose: every square is a whole number of screen pixels (–), so its size is exact.

3 · Check the density with everyday objects

Below the steps, on grey: a 100 × 100 mm block with coloured surfaces, all centred: squares of 25, 50, 75 and 100 mm (grey; the block itself is the 100 mm), squares of 1, 2 and 3 inch (blue), a bank card across and upright (red, 85.60 × 53.98 mm) and a LEGO 2 × 4 brick across and upright (green, 31.8 × 15.8 mm). Lay the object on the surface of its colour: its edges should lie on the edges of the colour. A 1 % error shows as about 1 mm on the 100 mm square; a LEGO brick is too small to show 1 %. This is a check by eye: the scale step in Gnomon measures the same objects with the camera.

4 · Place the board

90° camera fixed, straight down screen flat where the parts lie · board ≈ 90 % of the view
  1. Fix the camera high on its stand, looking straight down, with constant lighting. Do not move camera, stand or light after calibrating.
  2. Lay this device flat exactly where the parts will lie, screen up, full brightness, night-shift / blue-light filter off.
  3. Press Full screen (below): the board alone, at its exact size. It should fill about 90 % of the camera image, every square in view.
  4. In Gnomon (Setup) wait for “Board read from its code” and “Board found”, then press Calibrate: one picture gives the scale, the perspective and the lens distortion.
  5. Calibrate again after moving the camera, stand or light, or changing focus, zoom or resolution.
100 × 100 mm · squares 25 50 75 100 mm and 1 2 3 inch · bank card and LEGO 2 × 4, across and upright
The board