← All work

Reference-Free Eye Measurement

Measuring IPD and other eye measurements from a camera, with no reference object.

March 2026 · ML Engineer Intern, PixAI

  • Computer Vision
  • Product Development

Measuring interpupillary distance (IPD) and other eye measurements usually needs either an optician or a reference object of known size in the frame, like a credit card held to the forehead. During my internship at PixAI I developed a reference-free method for estimating these measurements, and built a proof-of-concept web app around it.

The trick is to use a reference everyone already carries: the iris, which is about 12 mm across in nearly all adults. A React app runs MediaPipe’s face landmarker in the browser, finds the irises, and uses their apparent size to convert pixel distances into millimetres. No card, ruler or depth camera needed.