Menu

Why phone scans of text come out broken, and what a scanner filter should do about it
📰

Why phone scans of text come out broken, and what a scanner filter should do about it

DEV Community: android·KovaPDF·14 days ago
#ehS4YtqE
#devtoandroid#devto#dev#stroke#grey
Long article (916 words) — no AI summary yet.
Reading 0:00
15s threshold

You hold the phone over a letter, tap the shutter, and the app hands you a crisp white page. Then you zoom in and the small print looks chewed: letters with holes in them, thin lines that fade out halfway, a grey footer that is simply gone.

We hit this while building the document scanner in our own app, and the cause was not where we first looked. This post walks through what actually breaks the letters, how to measure it, and the fix that worked for us.

The photo was fine. The filter broke it.

The first instinct is to blame the camera or the resolution. So we saved the raw photo before any filtering and compared.

Two shots of the same printed page, same light:

A sharp shot. After the "Auto" filter, the letters were clean.

A slightly soft shot , the normal kind you get holding a phone by hand. In the raw photo every word was still readable.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.