EyeCalibrate’s distance helper pauses a game when the screen is held too close. To do that, the device has to know how far away the face is, a few times every second, without a tape measure. There are two ways to do it.
1. Cameras that measure depth
iPhones with Face ID, and iPad Pro, have a special front camera that shines a pattern of invisible dots onto the face and measures how far away each one lands. It gives a real distance, directly. Because it uses infrared light, the red-cyan glasses make no difference to it.
2. Ordinary cameras: judging by size
Most iPads and Android phones have an ordinary front camera. It cannot measure depth, but it can find a face in the picture, and a face looks smaller the further away it is. Twice as far, half as big. If you know how big the face really is, its size in the picture gives the distance.
That “if” is the hard part, for two reasons.
Faces differ. So the app asks a parent to do one quick Measure: sit at the set distance, wearing the 3D glasses, and tap. The app compares what the camera sees with the real distance and corrects itself. On devices without Face ID this step is required before the helper starts.
Children’s faces are smaller. A 5-year-old’s eyes are about 5 cm apart, against about 6 cm by age 19 (MacLachlan and Howland, 2002). Left alone, a camera would think a small child was about a quarter further away than they are, and would never pause. Because the parent did the Measure, the app knows it measured an adult face, and it allows for the child’s age while they play.
Why the 3D glasses mattered
Some face finders look for the eyes. Through red-cyan lenses the eyes are hard to see, and on an iPad those finders lost the face entirely. EyeCalibrate looks for the outline of the whole face instead, which the glasses do not hide. If the camera still cannot see a face for 10 seconds in a game, it says so: “I can’t see you”.
How accurate is it?
Camera distance is never perfect. Turning or tilting the head makes a face look smaller, so the camera reads a little further away, never closer. That is why the app only acts on too close: a tilted head can never cause a false pause. Research tablets using the same idea moved children from about 37 cm to 47 cm from the screen (Salmerón-Campillo and colleagues, 2019).
Sources
-
The distance between the pupils grows steadily through childhood, and the paper gives an equation for it by age and sex. On those equations a 5-year-old's eyes are about 5 cm apart, against about 6 cm at 19.
MacLachlan C, Howland HC. Normal values and standard deviations for pupil diameter and interpupillary distance in subjects aged 1 month to 19 years. Ophthalmic and Physiological Optics 2002; 22(3):175–182. Measurements of 1,311 children and young people over 4,294 visits. Read the paper or its PubMed summary .
-
A tablet app used the front camera to measure how far each child's face was from the screen, and darkened the screen for the intervention group whenever they came closer than 40 cm. Children without the dimming sat at 36.8 cm on average; children with it sat at 47.2 cm, which meant their eyes had to focus about 0.6 dioptres less.
Salmerón-Campillo RM, Jaskulski M, Lara-Cánovas S, González-Méijome JM, López-Gil N. Novel method of remotely monitoring the face-device distance and face illuminance using mobile devices: a pilot study. Journal of Ophthalmology 2019; 2019:1946073. Small pilot study in two school classrooms; children using tablets were split at random into a control and an intervention group. Read the paper or its PubMed summary .