Skip to content

Photograph documents so OCR can read them: no flash, straight on, close enough

By the getPDF team · Published 11 October 2026

The short answer

For a document photo that OCR reads well: switch the flash off and avoid any bright reflection on the page, hold the phone square above the page, keep the page flat, and let the page fill at least half the frame. In our tests glare and a big tilt were the only things that cost words, and glare did it without the score noticing; a 12 megapixel phone photo already has more than enough pixels for normal print. Turn the photos into a PDF with JPG to PDF, then run OCR PDF; both run on your device.

Try it here, nothing is uploaded

JPG · PNG · HEIC · WebP · AVIF · TIFF · GIF · BMP · any number · any size

The 5 rules, in order of what they are worth

  1. No glare. Flash off. Move until no lamp or window reflects in the page; you can see the reflection on the screen before you shoot.
  2. Square to the page. Phone parallel to the paper, page edges parallel to the screen’s edges. A small tilt is fine; a big one is not.
  3. Flat. Weigh the corners of a folded letter down; press a book open.
  4. Close enough. The page should fill at least half the frame; for receipts and small print, fill most of it.
  5. Steady and even. Daylight from the side, your shadow off the page, 2 hands or elbows on the table.

The order comes from measurement, not from habit: glare and tilt were the only mistakes that cost words, and glare is first because the report does not see it. The table below shows why.

What each mistake cost in our tests

We took a typed letter (156 words, 11 point, with amounts, dates and a reference number), made a perfect photo of it as a 12 megapixel phone would see a full A4 page, and then made each mistake on purpose. Every version went through JPG to PDF onto A4 and then OCR PDF in English. Measured on 12 October 2026. These are simulated photos made on the computer, not shots from a real phone, so treat them as a guide to which mistakes matter, not as a promise for your camera.

The photo Confidence the tool reported Words exactly right, of 156
good: even light, square, page filling the frame 95 % 151
page filling only half the frame width 95 % 151
dim room: grey, low contrast, grainy 95 % 151
soft focus 95 % 151
shot at an angle, top edge 20 % narrower than the bottom 95 % 151
curled page, lines bending up to 8 mm 95 % 151
tilted 2 degrees 95 % 151
tilted 4 degrees 92 % 144
tilted 8 degrees 82 % 87
flash glare washing out the middle of the page 94 % 116

The 5 words the good photo missed are all the pronoun “I”, read as a vertical bar each time; that is the reader’s ceiling on this letter, not the photo’s fault.

Two lessons hide in the table:

Glare hides from the score. The glare photo lost 40 words, a quarter of the letter, yet the page still scored 94 % and the report named no unsure word at all, because the reader only grades the words it found. The text under the bright patch simply was not there, amounts included. Always look at your photo before you leave the desk.

Tilt garbles words before it loses them. At 4 degrees the numbers survived and a few letters went (“foung” for “found”). At 8 degrees the text layer still held 154 words, but only 87 were right: lines ran into each other, “flat 4B” came out as “flat 48”, 545.92 as 545.90 and the reference “SC-2019-0414” as “5C-2019.0414”. The page still scored 82 %, too high for a page warning. Keep the page edges parallel to the screen.

How many pixels does a page really need?

Fewer than you would think. A 12 megapixel photo is 4032 by 3024 pixels. Across an A4 page (210 by 297 mm), that is about 366 pixels per inch on the short side and 345 on the long one, more than the 300 dpi the OCR tool draws every page at before reading.

So for ordinary print, filling the frame is a comfort, not a must: our letter photographed at half the size, about 180 pixels per inch, read exactly as well. We tried the same letter in 8 point type, scanned straight: 300, 200 and 150 dpi all read 151 words right; at 100 dpi it fell to 146.

Small type is where pixels start to count. Receipt print at 6 point needed 300 pixels per inch for the total to come out right; at 200 and below, zeros turned into 8s. The receipts guide has those numbers. If the document has footnotes or a small-print box you need, move closer for that part.

Turn the photos into a PDF and read them

  1. Check each photo at full size on the phone: no bright patch, the text sharp when you zoom in, the page square.
  2. Crop if the table shows. getPDF does not crop or straighten photos. Your phone’s photo editor does both; the phone’s built-in document scanner finds the page edges by itself, and a dark table under a light page makes the edges easy to find.
  3. Open JPG to PDF and drop the photos in page order (Up and Down move them). It reads JPG, HEIC from an iPhone, PNG, WebP and more. Leave Paper on A4 and the fit on Fit. Photos are turned the right way up from the phone’s orientation tag, and the GPS position, device and time are left out of the PDF.
  4. Press Make the PDF and download it.
  5. Open OCR PDF, drop the PDF, pick the document’s language under Language, and press Make it searchable.
  6. Read the report. A page under 60 % gets a warning, and words read with low confidence are named with their pages. Then search for 1 word from the middle of each page, where glare likes to sit.
OCR PDFadd the searchable text layer to your photo PDF. Free, runs on your device.

What about a page shot sideways or upside down?

If the phone saved the photo lying on its side, JPG to PDF uses the orientation tag to turn it upright. If the page itself was photographed upside down, turn the page with Rotate PDF before OCR: the reader follows the page as your viewer shows it, and reads a quarter-turned or upside-down page badly. Rotate turns in quarter turns only; a small tilt has to be fixed in the photo.

The honest part

Our photos were simulated. We made each mistake on a computer-drawn photo so that only 1 thing changed at a time. A real phone adds its own sharpening, noise and lens bend. The pattern (glare and a big tilt cost words, the rest barely matters) is solid; how much glare costs depends on the size of the patch, and the exact numbers are ours, not yours.

A real curled book spine is worse than our curl. Our curl bent lines smoothly by up to 8 mm and cost nothing. The tight bend into a thick book’s spine squeezes letters too, and we did not measure that. Press the book flat, or photograph 1 page at a time with the book opened wide.

The score is not a proofread. A page can score in the 90s and still miss lines under glare or misread a digit. Check names, amounts and dates against the photo.

For a stack, a scanner wins. OCR copes with phone photos fine; your arms and patience are the limit. For 100 pages or more, a document feeder on an office scanner or copier does in minutes what takes an hour by phone, and gives evenly lit, square pages every time.

Photo PDFs are big. A 12 megapixel photo costs about 3 MB a page. Run OCR first, then Make a PDF smaller: compression keeps the text layer as it is, and the Email preset took 5 phone photos from 14.7 MB to 395 KB in our tests.

The whole route for phone scans, including what the phone’s own scanner already does, is in scanning with your phone to a searchable PDF; for the job of a single scan, start at making a scanned PDF searchable.

Questions

What matters most when photographing a document for OCR?

Light without glare, and the phone square to the page. In our tests a flash-style glare patch cost a quarter of a letter's words with no warning at all, and 8 degrees of tilt left only 87 of 156 words right. A soft photo, a dim room, a page shot from further away and 2 degrees of tilt cost nothing.

Do I need to fill the whole frame with the page?

Not for normal print. A 12 megapixel photo of a whole A4 page gives about 345 to 366 pixels per inch, more than OCR needs; a page filling half the frame (about 180) read just as well in our test. Small print is different: 6 point receipt type needed about 300.

Should I use the flash?

No. On glossy or smooth paper the flash makes a bright patch exactly where the lens points, and text under it disappears. Daylight from a window at the side, or a room light behind you that does not throw your shadow on the page, is better.

Does getPDF crop or straighten my photo?

No. JPG to PDF places each photo on a page as it is (turned the right way up from the phone's orientation tag), and OCR reads it as it is. Crop and straighten in your phone's photo editor first, or use the phone's document scanner, which finds the page edges.

Is my photo uploaded?

No. JPG to PDF and OCR PDF both run in your browser on your device. JPG to PDF also leaves the photo's GPS position, device and time out of the PDF.

The tools for this job