← Back to blog

Best OCR Settings for Low-Light Document Photos

Scanning a document in a dim conference room, a storage unit, or under fluorescent office lighting shouldn't mean getting garbage OCR output. Here's exactly what to adjust — before, during, and after capture — to pull clean text out of any low-light scan.

Why low light wrecks OCR accuracy

OCR works by finding contrast. The engine looks for sharp edges between dark ink and light paper. When lighting is poor, your iPhone camera compensates by boosting ISO, which introduces digital noise. That noise — the faint grain you see in dark photos — looks like meaningless static to you, but it looks like random characters and false edges to an OCR engine.

The result: words get misread, numbers get transposed, and whole lines of text get skipped because the algorithm can't confidently separate ink from background. A receipt that should extract cleanly comes back as T0tal: $4T.83 instead of Total: $47.83.

The good news is that almost all of this is fixable — either by improving the capture conditions or by choosing the right post-processing settings before OCR runs.

The biggest mistake: using your iPhone's flash

When it's dark, turning on the flash seems logical. For most photography, it's fine. For document scanning, it's usually counterproductive.

Your iPhone's flash fires from a single point in the upper-left corner of the device. That creates a bright hot spot in the center of the document and progressively darker edges — the opposite of the even, flat illumination that OCR needs. It also creates hard shadows around anything raised off the page: staples, spiral binding, curled edges, sticky notes.

The one exception: if you're scanning a completely flat, matte-surface document and your flash is the only available light source, it's better than nothing. But aim to avoid it whenever possible.

Flash rule of thumb: If the document is completely flat and matte, the flash can work in a pinch. If the document has any texture, curl, glossy coating, or raised elements — skip the flash and find ambient light instead.

Before you scan: fix the lighting first

The best way to improve OCR accuracy in low light is to avoid low-light conditions entirely. Even small lighting improvements make a significant difference to OCR output quality.

Move toward a light source

Natural window light is ideal. Position the document on a flat surface near a window, with the light coming from behind or beside you — not directly hitting the document at an angle (which creates glare). Overcast daylight is actually better than direct sun, which can cause uneven bright spots on glossy or semi-glossy paper.

Use overhead lights, not desk lamps

Desk lamps create directional shadows. Overhead room lights distribute more evenly across a flat surface. If you're scanning in an office, turn on the room lights and step away from the pool of harsh desk lamp light.

Put the document on a light-colored surface

Scanning a white document on a dark desk means the camera exposes for the average — which underexposes the document. Put the document on a white sheet of paper or a light-colored surface so the camera meters for bright content, not dark surroundings.

Pre-brighten in ScanWow before capturing

In ScanWow, you can adjust the exposure slider before you tap to capture. Push brightness up 30–40% from neutral when scanning in dim conditions. You're essentially telling the camera to expose for a brighter scene than it's seeing, which reduces the noise introduced by a high ISO. Slightly overexposed scans almost always OCR better than slightly underexposed ones.

During capture: settings that matter

Hold still — motion blur kills OCR

In low light, your iPhone needs a longer shutter time to gather enough light. That means any hand movement during capture blurs the image at a pixel level — and blurry pixels are just as bad as noisy ones for OCR. Rest your elbows on a table, or better yet, set the document flat on a surface and hold the phone directly above it with both hands.

Use auto-capture, not manual tap

When you tap the shutter button, you introduce a tiny vibration. ScanWow's auto-capture mode detects when the document is steady and fires the shutter automatically. In low light especially, this removes the micro-blur from tapping and produces noticeably sharper captures.

Scan from directly above, not at an angle

Shooting at an angle requires more perspective correction, which means the app has to resample more pixels. That resampling can soften fine text, especially small-point fonts like the fine print on contracts or the line items on receipts. Directly overhead — phone parallel to the document — gives the cleanest result and requires the least correction.

Clean your lens

This sounds obvious but it's frequently the actual culprit. Phones live in pockets and bags. A smudged lens adds a diffuse haze to every capture that kills fine OCR detail. A quick wipe on a clean cloth takes two seconds and can dramatically improve results, especially in low-light conditions where the camera is already working harder.

After capture: the right enhancement modes for OCR

This is where most scanner apps give you the most control, and where choosing wrong loses you the most accuracy.

Text mode: use this for almost everything

Text mode (sometimes called "B&W" or "Document" mode in other apps) converts the scan to high-contrast black and white. It aggressively eliminates the mid-tones — the gray noise and subtle shadows — and forces pixels to either pure black or pure white based on a threshold.

For printed text on white paper, this is almost always the right choice. It removes background noise, evens out uneven lighting, and gives OCR the sharpest possible contrast edges to work with. Even a scan that looks dim and gray at capture will often come out clean after Text mode processing.

The downside: it discards color and grayscale information, so it's not appropriate for photos, charts with color-coded data, or documents where color carries meaning (highlighted text, color-coded cells, brand logos).

Grayscale mode: for documents with subtle detail

If your document has tables, hand annotations, or content where the exact shade of gray matters, use Grayscale mode instead. It normalizes the overall brightness without forcing a binary black/white threshold, which preserves more detail in complex documents.

OCR accuracy on grayscale is slightly lower than on pure black/white scans, but significantly better than on a full-color noisy capture from a dim room. Think of it as the middle ground when Text mode feels too aggressive.

Lighten enhancement: the secret weapon for dark scans

After capture, ScanWow's Lighten enhancement specifically targets underexposed scans. It lifts the shadows — brightening mid-tones without blowing out the text itself — and then passes the result to the OCR engine. For photos taken in genuinely poor light, applying Lighten before OCR runs can recover text that would otherwise be missed entirely.

Apply it before running OCR, not after. The enhancement modifies the image data that the OCR engine reads — post-OCR adjustments only change the visual display, not the extracted text.

When to use Color mode

Color mode is the least reliable for low-light OCR. It preserves the full image including noise, shadows, and uneven lighting. Use it only when you need the color content for reference — a business card with colored elements, a form with color-coded fields — and accept that OCR accuracy will be lower than Text mode.

If you need both accurate OCR and color preservation, scan twice: once in Text mode (for OCR accuracy) and once in Color mode (for the visual record). Export and keep both.

The best setting combinations by document type

Not all dim-light documents are the same. Here's what works for the most common cases:

Receipts and invoices

Almost always thermal paper (white background, black print). Use Text mode with Lighten applied. Pre-brighten exposure 30–40% before capture. This setup handles even badly faded thermal paper significantly better than default settings.

Contracts and legal documents

Usually laser-printed black text on white. Text mode is optimal. For documents with handwritten annotations, consider Grayscale mode to preserve the ink variation that helps distinguish annotated sections.

Forms with hand-filled fields

The printed form text scans fine in Text mode, but hand-filled fields — especially pencil — can disappear with aggressive threshold processing. Use Grayscale mode and apply Lighten if the room is dim. OCR accuracy on handwriting is lower regardless, but Grayscale preserves the most detail for reading.

Books and bound documents

The center gutter is the enemy. Bound pages curve away from the camera, and the spine creates a shadow that darkens the inner margin. Scan from above with maximum brightness, and if the shadow is severe, apply Lighten aggressively in post. For critical documents, scan each page twice and keep the sharper version.

ID cards and small-format documents

Small format means less surface area for edge detection. On a dark surface they can be especially hard to isolate. Place them on a white sheet of paper first — this gives the scanner a reference surface for edge detection and exposure, and usually produces much cleaner isolations in dim light.

Quick settings cheat sheet for low-light:

  • 🔆 Pre-brighten exposure 30–40% before capturing
  • 📷 Use auto-capture, not manual tap
  • 📄 Put the document on a white surface
  • 🔲 Apply Text mode for printed documents
  • ☁️ Apply Lighten enhancement before running OCR
  • 🚫 Skip the flash on anything but perfectly flat, matte paper

Using ScanWow's OCR retry feature

If your first OCR pass comes back with obvious errors — misread numbers, garbled words, missing lines — don't just live with it. ScanWow lets you re-run OCR after applying a different enhancement. The typical rescue sequence:

  1. Scan the document at default settings.
  2. Run OCR — check the extracted text for accuracy.
  3. If the results are poor, go back to the enhancement panel.
  4. Apply Lighten, then switch to Text mode if you haven't already.
  5. Re-run OCR on the enhanced version.

In most cases, this two-pass approach fixes 80–90% of the common low-light OCR errors without needing to re-scan the document. If you're still getting bad results, that's the signal that the source image is too underexposed to recover — go get better light and scan again.

When the scan is just too dark to save

Sometimes the image is genuinely too degraded to fix in software. Signs you've hit the limit:

At that point, the only fix is reshooting with better light. But most low-light scans don't reach this threshold — the combination of pre-brightening + Text mode + Lighten rescues the majority of dim-room captures that would otherwise fail.

Device settings that affect scan quality

Outside of the scanner app itself, a few iPhone settings influence how well your camera handles low light:

Frequently asked questions

Why does OCR fail on low-light document photos?

Low light forces your camera to boost ISO, which introduces digital noise. OCR engines work by detecting contrast between ink and paper — noise disrupts those contrast edges and causes misreads, missing words, and garbled characters. Fixing the lighting (or compensating with enhancement modes) resolves most of it.

Does iPhone flashlight help with document scanning?

Usually not. The flash creates a bright hot spot in the center and shadows around edges and raised elements. For flat, matte documents it can work in a pinch, but diffuse ambient light almost always gives better OCR results. Use the pre-brighten slider in ScanWow instead.

What is the best OCR setting for dark documents in ScanWow?

Pre-brighten exposure 30–40% before capture, then apply Text mode with the Lighten enhancement before running OCR. This sequence consistently outperforms shooting at defaults and correcting afterward, especially for receipts, invoices, and printed text on white paper.

Better light, better settings, better OCR — get cleaner scans from any document.

Download ScanWow Free