Handle shadows and uneven lighting in document scans
13 November 2026
This page answers a bounded question: how to handle shadows and uneven lighting in document scans. It is a scan-quality test corpus and an OCR error table you complete on authorised or synthetic pages. It is not the general OCR method in OCR business documents, and it is not the faint-photocopy corpus in Test OCR on faint photocopied text or the small-print check in Check OCR accuracy on small printed text. It does not report an accuracy score.
Exact-query Google Ads volume for “handle shadows and uneven lighting in document scans” was null in South Africa, the UAE, Nigeria and Kenya on 12 November 2026. Null is unknown, not zero.
Capture the lighting defect, then the text error
A shadow or a bright stripe is a property of the image, not a property of the typeface. Before anyone runs OCR, record how the page was captured: device, lighting, whether a glass plate or a phone camera was used, and where the shadow or hot-spot falls (a binding gutter, a hand, a desk lamp). Then mark the ground-truth words that sit inside that region, separately from words on an evenly lit part of the same page. An overall “page accuracy” figure will hide the defect you came to measure.
The US Federal Agencies Digital Guidelines Initiative, Technical Guidelines for Digitizing Cultural Heritage Materials, Third Edition (May 2023), section 3.5, specifies that modern textual records have no star levels, and that the resolution aim is ≥ 294 ppi (300 ppi − 2%), described as NARA’s proposed permanent-records minimum. That is a US federal specification, not a universal OCR standard, and it is not a test result from this programme. FADGI Third Edition, accessed 13 November 2026.
That resolution aim is about digitisation of modern textual records in a US federal specification. It is not a claim that 300 ppi will correct a shadow, and it is not a result from this programme. A dark gutter at 300 ppi is still a dark gutter.
ArkePDF OCR is Gated. Do not treat a catalogue label as a completed OCR test.
A labelled lighting corpus (synthetic, not a result)
The pages below are synthetic. They demonstrate the register, not a measured engine. This programme has not scored OCR on shadowed scans for this article. Use only files you are allowed to process, or pages you created for the test. Record engine, version, date, and whether processing was local or connected.
| Synthetic page | Lighting defect (labelled) | Ground-truth phrase in the defect | Ground-truth phrase in an even region | OCR output (unfilled) | Error class |
|---|---|---|---|---|---|
| SYN-SCAN-SH-01, a one-page letter | A hand-shadow across the sign-off | “Yours faithfully, 14 March 2026” | The addressee block at the top | Not tested | Substitution, omission, or other — fill after the test |
| SYN-SCAN-SH-02, a two-page invoice | A dark binding gutter on the right-hand page | The tax line in the right margin | The supplier name at the top left | Not tested | Unfilled |
| SYN-SCAN-SH-03, a stamped receipt | A desk-lamp hot-spot over the total | The amount in figures and in words | The receipt number | Not tested | Unfilled |
A reviewer, not the engine, decides whether a character in the defect region is right. If you later change lighting and rescan, keep the original file; a “corrected” scan is a new item in the corpus, not a silent replacement.
If a later extraction or redaction step will run on these pages, record that dependency. ArkePDF Redact is Off. Ask PDF is a design preview and is not a scoring tool here.
Sources
- The US Federal Agencies Digital Guidelines Initiative, Technical Guidelines for Digitizing Cultural Heritage Materials, Third Edition (May 2023), section 3.5, specifies that modern textual records have no star levels, and that the resolution aim is ≥ 294 ppi (300 ppi − 2%), described as NARA’s proposed permanent-records minimum. That is a US federal specification, not a universal OCR standard, and it is not a test result from this programme. FADGI Third Edition, accessed 13 November 2026.
- Live ArkePDF OCR family article, URL as above.
- Product truth, 12 November 2026: OCR is Gated; Redact is Off; Ask PDF is a design preview.
- DataForSEO Google Ads search volume, 12 November 2026: exact query null in ZA, AE, NG and KE.
Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted by Grok Bot for the ArkePDF editorial programme. Official sources checked on 13 November 2026. Approved for publication by Humphrey on 13 November 2026.
