1. Binarizing a Shadowed Document
ArchivistBackground
A collection of historical documents features uneven lighting and dark shadows across the pages, making the text difficult to read.
Problem
Global thresholding turns the entire page black or white, losing the text in shadowed areas.
How to use
Upload the document scan, set the block size to 21, and select the Gaussian method to account for local intensity variations.
blockSize: 21, method: 'gaussian', constant: 5Outcome
The text becomes sharp and legible against a clean white background, regardless of the original lighting inconsistencies.