Skip to main content
Orilami

Passport & Visa Photo Validator: 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

DS-160 Photo Checker: Test Your US Visa Photo Before You Upload

The US visa photo is a 2 × 2 inch square, 600 to 1200 pixels on each side, with the head filling roughly half to two-thirds of the frame against a plain white background. Common reasons a photo is returned are a head that is too small or too large, shadows on the background and a tilted head.

The validator above measures each of those rules on your photo, shows which pass, and crops it to 600 × 600 pixels with 300 DPI written into the JPEG. It checks against published rules but is not the State Department, so a pass is a good sign rather than a guarantee. It cannot fix a bad background or uneven lighting; those need a reshoot.

This is the Passport & Visa Photo Validator set up for one case. See everything it does →

Passport & Visa Photo Validator — 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

What are the DS-160 photo requirements?
A square image, 600 to 1200 pixels on each side, with the head about 50 to 69 percent of the frame from chin to crown, the eye line roughly 56 to 69 percent of the height up from the bottom, and a plain white or off-white background. The validator checks each of these, along with head pose and lighting.
What pixel size and DPI does the exported US photo have?
600 × 600 pixels, with 300 DPI written into the JPEG's header, which is the bottom of the allowed 600 to 1200 pixel range. The DPI is recorded in the file itself, not only implied by the pixel count.
Can this tool fix a US visa photo that fails the check?
Framing, yes: the auto-crop recentres the head and scales it to the required proportion. Background, lighting and expression problems have to be reshot, and the report tells you which rule is the blocker.
Does passing here guarantee the State Department will accept the photo?
No. The tool checks published rules locally, but it is not the issuing authority and a human reviewer or the official submission check has the final word. A pass means the measurable rules are met, which removes the most common causes of rejection.
Is my photo uploaded anywhere to be checked?
No. The whole check runs in your browser and the file is never uploaded. Previewing and checking need no account; an account is needed only to spend tokens when you download the result.
More questions about Orilami →

Passport & Visa Photo Validator at a glance

Key facts about Passport & Visa Photo Validator: where it runs, what it costs, what it accepts and produces, and its limits.
Where it runsEntirely in your browser. Files are never uploaded.
Cost180 tokens per photo (about $1.80 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.

Local processing vs. cloud tools

How Orilami compares with the typical online tool that uploads your file to its servers.

Orilami local processing compared with typical cloud tools on file privacy, edit and delete safety, speed, and pricing model.
CriterionOrilami (runs locally)Typical cloud tools
File privacy0 bytes leave your device. Files are processed in your browser's memory.Files are uploaded to external servers, where they may be logged or retained.
Edit & delete safetyYour original is never modified. The cropped photo is a new file built in memory.Your original and the result often stay on their servers after you leave.
Speed & performanceInstant: runs on your device, with no queue and no upload or download wait.Depends on your connection and on server load.
Pricing modelPay per use with tokens. No mandatory monthly subscription.Typically a recurring monthly subscription that adds up.

The cloud column describes upload-based online tools in general. Individual services differ.