Skip to main content
Orilami

Passport & Visa Photo Checker: before and after

An illustration with sample files; your own files show their own results.

Before3 photos a portal would reject
  • Off-centre in the frame

  • Head far too small

  • Tilted, shadow behind

AfterThe same photos, ready to upload
  • US 2×2 in · 300 DPI

  • Schengen 35×45 mm

  • Straight and evenly lit

Passport & Visa Photo Checker — ICAO 9303 / DS-160 compliance

Checks a portrait against US DS-160 (2×2 in) and Schengen / ICAO 9303 (35×45 mm) rules — head size, pose, background and lighting — then auto-crops it to a print-ready JPEG at the right DPI. Everything is measured in your browser; the photo never leaves your device.

What it measures

  • Geometry: head height, eye line and centring against the standard’s allowed bands.
  • Head pose: roll, yaw and pitch from a weak-perspective POS solver; roll is also read from the eye line.
  • Background: colour uniformity (CIE76 ΔE*ab), brightness, patterns and cast shadows.
  • Lighting: left/right symmetry (SSIM) and specular hotspots.
  • Expression: eyes open and neutral mouth, measured from the face mesh and estimated when it is unavailable.

Face finder and limits

The face is found by Google’s MediaPipe Face Landmarker, run entirely in your browser. Its model (about 4 MB) and runtime load from this site once and are then cached; your photo is never sent anywhere, and the model only places points, it identifies no one. It also gives the eye and mouth ratios for the expression checks. Drag any point to fine-tune it. If the model can’t run on your device, you place the points by hand and the expression checks are advisory. This is a pre-submission check; the issuing authority makes the final decision.

Frequently asked questions

Which standards does it check against?
ICAO 9303 (the basis of Schengen photo rules) and the US Department of State DS-160 rules, checked one by one: head height, eye line, centring, head pose, background, lighting and expression.
Why do passport photos get rejected most often?
Head size outside the allowed band, an uneven or shadowed background, uneven lighting, a tilted or turned head, a non-neutral expression, and the wrong pixel size or DPI. Each is a separate check here, so you see exactly which one failed.
Does my photo get uploaded for face analysis?
No. Face detection runs in your browser with Google's MediaPipe model, which loads from this site once and is then cached. The photo is never sent anywhere, and the model only places points; it does not recognise or identify anyone. If it can't run on your device, you place the anchor points by dragging.
What is DPI and why does the portal care?
DPI is how many pixels map to an inch of print. Portals check it to confirm the photo prints at the required physical size. The exported JPEG has the DPI written into its header, not just the right pixel count.
Does it edit, retouch or replace anything in my photo?
No. The checks only read the photo. On export it changes the framing and nothing else: one scale-and-shift resample to the standard's pixel size, saved as a JPEG at quality 0.95 with the DPI in the header. It does not retouch, replace or morph a face or background, rotate the photo or correct a tilted head, and no AI model ever changes your pixels (the face finder only locates points on the photo). A small margin past the photo's edge is filled by extending the photo's own edge; a crop that would need more is refused.
Can it fix a photo that fails?
Framing, yes: the auto-crop recentres the head, scales it to the required proportion and writes the correct DPI. Background, lighting and expression problems need a reshoot, and the report names the blocker.
Does it guarantee my photo will be accepted?
No. It checks the documented ICAO 9303 and DS-160 rules so you can fix problems before you submit. The authority or portal makes the final call.
Do I have to place the anchor points myself?
Usually not. The face is found automatically by a model that runs in your browser, and you only drag a point that is off. If the model can't run on your device, the dots start in generic spots; you place them by hand and confirm before validating.
How are roll, yaw and pitch computed?
Your anchors are matched to a 3-D head model with a weak-perspective POS solver, which gives the rotation and its Euler angles. Roll is also read directly from the eye line.
Which formats can I check?
JPEG, PNG and WebP are read directly, and TIFF and HEIC/HEIF are decoded in your browser first. The DPI-tagged export is always a JPEG.
More questions about Orilami

Passport & Visa Photo Checker at a glance

Key facts about Passport & Visa Photo Checker: where it runs, what it costs, what it accepts and produces, and its limits.
Where it runsEntirely in your browser. Files are never uploaded.
Cost150 tokens per photo (about $1.50 at the base rate)
AcceptsJPEG, PNG, WebP, TIFF, HEIC/HEIF
ProducesA pass/fail report per rule, plus an auto-cropped JPEG at the right size and DPI (US 600×600 at 300 DPI, Schengen 827×1063 at 600 DPI).
BatchOne at a time.
Account neededOnly to spend tokens. Browsing and previewing are free.
What it does not doIt checks published geometry and lighting rules and crops to size. It does not alter faces or backgrounds, and cannot guarantee a reviewer's decision.