How ID photo tools verify face alignment and centering

A photo tool finds your eye centres, then checks four things against the standard: head rotation under 5 degrees in roll, pitch and yaw, the eye midpoint on the frame's vertical centre line, the eye line at a fixed height, and at least 90 pixels between the eyes. Tilt can be straightened in software. A turned head needs a retake.

  • discovery
  • face-alignment
  • centering
  • head-pose
  • eye-line
  • face-detection
  • on-device
  • explainer

An ID photo tool checks alignment by finding fixed points on your face, mainly the centre of each eye, and measuring them against the geometry the face-image standard sets. The ISO face standard used for passports wants head rotation under 5 degrees from frontal in every direction (roll, pitch and yaw), both eyes on the same horizontal line, and the face centred.1 Its "token" frontal layout pins the eyes to exact coordinates: the midpoint between them sits on the frame's vertical centre line, and the eye line sits 55% of the way up the frame. It also asks for at least 90 pixels between the eyes, with 120 as best practice.1 A tilted head can be straightened in software by rotating the image until the eyes are level. A head turned to one side or nodding up or down can't, because the camera recorded a different view of the face. SpecSnap runs these measurements on your phone with Google ML Kit: it uses the eye positions to align and crop, and head pose angles to correct slight tilt, without uploading the photo.2

The anchor points everything is measured from

Every alignment check starts with landmark detection. Fstoppers puts it plainly: "The software finds a set of fiducial points, the reliable anchors that every face has in the same rough places: the inner and outer corners of each eye, the tip and base of the nose, the corners of the mouth, the edge of the jaw."3

The eyes matter most. Tilt is the angle of the line between your two eye centres. Centring is where the midpoint of that line falls. Resolution is the pixel distance between them. Head height needs two more points, the chin and the top of the head, which is why hair piled high or a crop that cuts the crown causes trouble.

Once the points are found, the software performs what Fstoppers calls a canonical alignment, "rotating, scaling, and translating your face into a standard pose".3 In plain terms: rotate until the eyes are level, scale until the head is the right size, then shift the frame until the face is in the right place. Each of those three moves corresponds to one of the checks below.

If something hides the anchors (hair across an eye, glare on a lens, a hard shadow on one side) the tool has less to measure, and every later check becomes less reliable. That is the main reason lighting and glasses rules exist in the first place.

Tilt and turn: the 5-degree window

Head pose is described with three angles:

  • Roll is tipping your head toward a shoulder. The eyes stop being level.
  • Pitch is nodding up or down. Usually it comes from a camera held above or below eye level.
  • Yaw is turning left or right. One ear shows more than the other.

The ISO best-practice text, as presented in a NIST-hosted briefing on the face image standard, says rotation of the head "shall be less than +/- 5 degrees from frontal in every direction", covering roll, pitch and yaw.1 The same briefing lists "eyes on same horizontal line" and "face centered" among the scene constraints.1 Agencies phrase it for people rather than software. GOV.UK asks you to be "facing forwards and looking straight at the camera".4

The three angles behave very differently once the photo is taken.

Roll is fixable. A head tipped 4 degrees is an upright face in a rotated frame, so rotating the image by 4 degrees the other way gives the same face with level eyes. Good tools do this automatically.

Pitch and yaw are not. A turned head shows the camera more of one cheek and less of the other. A nodding head changes how long the nose and chin look. Rotating or shifting the picture can't recover the side of the face the lens never saw, so the only honest response is to flag the photo and ask for a retake.

Newer quality checks also look below the face. A 2025 paper on shoulder presentation notes that the ISO/IEC 29794-5:2025 quality standard treats shoulder presentation as a measure of its own, and proposes scoring shoulder yaw and roll from the 3D shoulder positions a pose model reports.5 The point for you: square your shoulders to the camera as well as your face.

Centring: where the eyes have to land

"Centred" sounds like a judgement call, but the standard turns it into coordinates. The token frontal image defined in the ISO face standard has these fixed proportions, for an image W pixels wide:1

ParameterValue
Image heightW ÷ 0.75 (a 3:4 portrait)
Eye line, from the top0.6 × W
Right eye, from the left edge0.375 × W
Left eye, from the left edge0.625 × W
Distance between the eyes0.25 × W

Work those numbers through and the meaning is simple. The two eyes sit symmetrically either side of the frame's vertical centre line, so the midpoint between them is exactly in the middle. The eye line is 0.6W down a frame that is 1.33W tall, which is 45% of the way down, or 55% of the way up from the bottom edge.

So a tool checks horizontal centring by comparing the eye midpoint with the frame's centre line, and checks the vertical position by comparing the eye line with its target height. If either is off, the fix is a crop: move the frame, not the face.

Real document specs give ranges rather than a single point, and they measure in different ways. SpecSnap's on-screen validator, for example, shows an eye-line range of 50% to 60% from the bottom with a 55% target, alongside a face-height range of 70% to 80% with a 75% target.6 How automated cropping handles country-specific visa rules explains how a cropper solves for both bands at once.

Head size and resolution: the scale checks

Scaling has two separate limits.

The first is head size relative to the frame. The US Department of State wants the head between 1 and 1 3/8 inches (25 to 35 mm) from chin to top of head on a 2 by 2 inch photo,7 which works out to 50% to 69% of the image height. A tool measures chin to crown in pixels and divides by the frame height. Stand too close and the ratio goes over. Stand too far back and it drops under. Passport photo head size covers how this band differs between countries.

The second is detail. The standard sets a floor of 90 pixels between the eye centres and recommends 120.13 In the token layout the eyes are a quarter of the image width apart, so a 480-pixel-wide token image gives exactly 120 pixels.1 This is why a small face in a big photo can fail even when it's perfectly centred: when the crop enlarges it to the right head size, there may not be enough real pixels between the eyes to count as a usable face.

What software can fix, and what it has to reject

Put the checks together and they split cleanly:

ProblemCan software correct it?How
Head tipped toward a shoulder (roll)Yes, within limitsRotate until the eyes are level
Face off-centreYesCrop so the eye midpoint is on the centre line
Eye line too high or lowYes, if there's room in the originalCrop to move the eye line into its band
Head too big or small for the frameUsuallyCrop tighter or wider
Too few pixels between the eyesNoRetake closer, or with a better camera
Head turned (yaw) or nodding (pitch)NoRetake facing the lens, camera at eye level
Shoulders turnedNoRetake square to the camera

Some systems also score image quality formally. OFIQ, the German BSI's open-source reference implementation of ISO/IEC 29794-5, "returns component scores plus a unified quality score".8 The component scores matter here, because a single number can't tell you whether to fix your pose or your lighting.

The table also shows why the order of operations matters. A tool that only crops will happily centre a turned head and produce a neat-looking photo that fails the pose rule. A useful tool checks pose first and only crops a face that passed. For a hands-on way to see how a particular app behaves on a tilted or turned head, try the six-photo test in face detection accuracy in passport photo apps.

How SpecSnap runs these checks

SpecSnap does the whole measurement on the phone. Its privacy policy says the mobile app uses Google ML Kit for on-device face detection, using "the face bounding box and eye positions (used to align and crop the photo to government ID specifications)" and "head pose angles (used to correct slight head tilt)".2 It also says SpecSnap does not create face embeddings or perform face recognition, so the measurements are geometry, not identity.2 The photo isn't uploaded; the homepage describes "100% on-device processing" with no account and no server copies.6

The useful part for alignment is that the readout shows your actual numbers. The validator reports face height and eye line against the document's range and target,6 so a photo that only just scrapes into the range looks borderline rather than simply passing. Every exportable spec can be previewed free with a watermark before you pay for a clean photo,6 and on the US App Store a single export is $0.99 or $4.99 a year for unlimited, with prices varying by region.9

One limit to know: for some documents, including the US passport, SpecSnap shows the official requirements as guidance and doesn't export a cropped photo.6

FAQ

What does a "face not centred" warning actually mean?

Usually that the midpoint between your eyes isn't close enough to the frame's vertical centre line. In the standard's token layout the two eyes sit symmetrically about that line.1 The fix is a crop, not a retake, as long as there is room around your head in the original photo.

How do photo checkers measure head tilt?

They find both eye centres and measure the angle of the line between them, and many also read head pose angles from the face detector. The standard allows less than 5 degrees in roll, pitch and yaw.1 SpecSnap uses head pose angles on the phone to correct slight tilt.2

Can an app fix a tilted or off-centre photo?

It can fix roll, where your head tips toward a shoulder, by rotating the image, and it can fix off-centre framing by cropping. It can't fix a head turned sideways or a nod up or down, because the camera recorded a different view of your face. Those need a retake.

Why does holding the phone too low get photos rejected?

A camera below eye level means you're looking down into it, which is pitch. The standard caps pitch at under 5 degrees.1 Hold the camera level with your eyes, or prop it at that height.

How many pixels does my face need?

The standard asks for at least 90 pixels between the centres of your eyes and recommends 120.13 Modern phone cameras clear that easily at normal distance. It becomes a problem when the face is small in a large frame, or the original photo was downsized.

Sources

Footnotes

  1. NIST: Understanding the Face Image Format Standards (Paul Griffin, Identix, 2005): ISO best practice that head rotation "shall be less than +/- 5 degrees from frontal in every direction" (roll, pitch and yaw); scene constraints including "Eyes on same horizontal line" and "Face centered"; "90 pixels from eye to eye is required", "120 pixels" as the "best practice recommendation"; token frontal geometry with image height W/0.75, eye Y coordinate 0.6 × W, eye X coordinates 0.375 × W and 0.625 × W, eye-to-eye width 0.25 × W, and "Width = 480 corresponds to 120 pixels from eye to eye". ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11

  2. SpecSnap Privacy Policy: the mobile app uses Google ML Kit for on-device face detection, measuring the face bounding box and eye positions "used to align and crop the photo to government ID specifications" and head pose angles "used to correct slight head tilt"; SpecSnap "does not create face embeddings, perform face recognition, or use these measurements to identify you". ↩ ↩2 ↩3 ↩4

  3. Fstoppers: Why passport photo rules are so strict: fiducial points as "the reliable anchors that every face has in the same rough places"; canonical alignment "rotating, scaling, and translating your face into a standard pose"; "The floor is 90 pixels between the eye centers, with 120 or more preferred", attributed to ICAO Doc 9303 and the ISO/IEC face-image standards. ↩ ↩2 ↩3 ↩4

  4. GOV.UK: Photos for passports: be "facing forwards and looking straight at the camera". ↩

  5. arXiv 2511.14376: A Quantitative Method for Shoulder Presentation Evaluation in Biometric Identity Documents: ISO/IEC 29794-5:2025 specifies shoulder presentation as a standalone quality measure; the proposed method scores shoulder yaw from the depth difference between the shoulders and roll from their vertical displacement, using 3D shoulder landmarks from MediaPipe. ↩

  6. SpecSnap: "100% on-device processing", "No upload. No account required. No server copies."; validator readout showing face height 70% to 80% (target 75%) and eye line 50% to 60% from bottom (target 55%); "Free to download and preview. Pay once per clean photo when you're happy with the result." Some routes, including the US passport, are guidance only. ↩ ↩2 ↩3 ↩4 ↩5

  7. U.S. Department of State: Passport Photos: 2 x 2 inches, head 1 to 1 3/8 inches (25 to 35 mm) from chin to top of head. ↩

  8. Axon Wireless: ICAO face photo standards and OFIQ: OFIQ is "the German BSI's reference implementation for ISO/IEC 29794-5" and "returns component scores plus a unified quality score". Vendor-authored. ↩

  9. SpecSnap on the App Store: Single Photo Export at $0.99 and Annual Unlimited at $4.99 a year. ↩

← Back to all articles