How to take a good passport photo at home
You don't need a studio to take a usable passport or exam-form photo. A phone, a plain wall, daylight and five minutes are enough. The trick is to get the photo right at the start, because no software should fix a bad photo by changing your face.
Set up
- Find a plain wall. White or off-white is best. Stand about half a metre in front of it so your shadow falls behind you, not on the wall around your head.
- Use soft, even light. Face a window during the day. Avoid direct sun, overhead tube lights that cast shadows under the eyes, and flash, which causes glare and red-eye.
- Get the camera at eye level. Ask someone to hold the phone 1–1.5 metres away and zoom in slightly. Selfies taken at arm's length can make the nose look bigger and the ears smaller. If you take a selfie, use the rear camera with a timer, or hold the phone at eye level, not below your chin.
- Leave space above your head and around your shoulders so the tool can frame you properly.
Pose
Sit or stand straight with your shoulders square to the camera. Look directly into the lens with a neutral expression, eyes open and mouth closed. Keep your head level, not tilted or turned. Take off glasses if you can. Move hair away from your eyes. Avoid caps, heavy filters and “beauty mode”. Take several shots and pick the sharpest one.
The official specifications
For Indian passport services, Passport Seva's ICAO guidelines ask for a colour photo with a white background in which the face takes up about 80–85% of the photograph. The full head from the top of the hair to the bottom of the chin must be visible, centred and not tilted. For uploads the guidelines specify 630×810 pixels, and printed photos for the application form are 4.5 cm × 3.5 cm. They also say photos should be unaltered by computer software. Note that the instruction booklet says a photograph is not required for applications at a PSK or POPSK, because it's captured there. For forms submitted at other collection centres, the booklet asks for a recent colour photo with a plain white background and dark clothing, printed on good-quality photo paper. It also says “photograph in computer print will not be accepted”, so get the print sheet printed at a photo studio or lab, not on an office printer.
A US visa photo is 2×2 inches (51×51 mm) with the head between 1 and 1⅜ inches (50–69% of the height), on a white or off-white background. Digital uploads are at least 600×600 pixels and up to 240 KB.
Government exam forms (SSC-style, many state PSCs and banks) commonly ask for a JPG of about 3.5×4.5 cm between 20 and 50 KB, plus a signature of 10–20 KB. UPSC-style forms use larger square images. The exact numbers change between notifications, so copy them from your form and use the Custom option if needed.
How this tool works
When you add a photo, your browser downloads two small AI models from Google's MediaPipe project: a face detector (about 0.2 MB) and a selfie segmentation model (about 0.25 MB). It also downloads the engine that runs them (about 4 MB in total, cached after the first visit). The face detector finds your eyes, nose, mouth and face box. The segmentation model separates you from the background, and the tool uses it to find the top of your head. It then calculates the crop so your head fills the right share of the frame and sits in the centre. You can fine-tune the zoom and position, choose a white background or keep the original, and export a JPG at the exact pixel size. File size is hit by adjusting JPEG quality, and a 300 dpi tag is written so prints come out at the right physical size.
AI background removal is good but not perfect. Check the edges around hair and ears in the preview, and use the high-quality hair option or retake the photo against a plain wall if needed.