Most people photograph a document, send the photo, and hope. It usually works. It also produces a 4 MB image with a shadow across the middle, a keystone slant at the top, and text that no search engine on your phone can read. A scan is a different thing: flattened, cropped to the page, contrast corrected, and saved with a text layer underneath.
The gap between the two is about thirty seconds of technique.
Light the page before you touch the camera
Shadows cost more accuracy than resolution does. A 12 MP sensor has pixels to spare for an A4 page. What it cannot recover is a hard shadow edge running through a paragraph, because binarisation has to pick one threshold and half your text falls on the wrong side of it.
Two fixes, neither of which requires equipment. Face a window and put the page between you and the light rather than under your own shadow. If you are using a lamp, move it off to one side at roughly 45 degrees so the beam rakes across the paper instead of bouncing straight back into the lens. Glossy receipt stock especially will mirror a ceiling light right into the sensor and wipe out a line of numbers.
Shoot square, or let edge detection do it
Hold the phone parallel to the page. Not approximately parallel. If the top of the page is visibly narrower than the bottom in your viewfinder, you have introduced keystone distortion, and the correction that fixes it stretches pixels back out, which softens the characters it is stretching.
Automatic edge detection handles the rest. Apple ships the machinery for this in VisionKit, and every decent scanner app on iOS builds on it. In Scanary AI the frame locks onto the page outline, waits for the shake to settle, and captures without you pressing anything. Multi page capture keeps going until you stop, so a twelve page contract is one continuous motion rather than twelve separate decisions.
Pick the right colour mode
Three choices, and the right one depends on what the document is for.
- Colour for anything with a signature, a stamp, a highlighted clause, or an ID photo. Stamps in particular go invisible in black and white.
- Grayscale for printed text you want to keep looking like paper. Smaller than colour, kinder to photographs embedded in the page.
- Black and white for forms, invoices and anything headed to a printer. File sizes drop by an order of magnitude and OCR gets cleaner input.
A twenty page lease in colour is often 30 MB. The same lease in black and white lands near 1.5 MB and emails without a complaint from anyone's mail server.
Save it as a PDF with the text layer attached
This is the step that separates a scan from a picture. Optical character recognition reads the characters out of the image and stores them invisibly behind the page, so the file becomes searchable and selectable. If you want the longer version of what OCR actually does, the overview on Wikipedia is accurate and short.
Scanary runs recognition on the device as soon as the capture lands, so by the time you reach the share sheet the text is already indexed. That matters later, when you cannot remember what you called the file and search for "deposit refundable" instead. More on that in finding a document when you have forgotten its name.
What good looks like
Lay your scan next to the original. The margins should be even, the page should be a rectangle rather than a trapezoid, the background should be close to white without the text going grey and feathery, and you should be able to select a word by tapping it. If you can do all four, the scan will still be useful in five years.
If OCR keeps misreading the same characters, the problem is almost always capture rather than software, and seven things that fix OCR accuracy goes through the usual suspects.
Scanary AI