Camera Photo Preprocessing for Better OCR
Camera photos require 3 preprocessing steps that scanned images do not: perspective correction, white balance adjustment, and noise reduction. A phone held at an angle produces trapezoidal distortion. Fluorescent or incandescent lighting creates color casts. High ISO settings add grain noise.
Convert JPG to Word applies automatic perspective correction by detecting the four corners of the document page in the photograph. The system then applies a projective transform to flatten the document to a rectangular view. White balance normalization shifts color temperature to neutral, improving contrast between text and background.
Camera Resolution Requirements for Document Photography
There are 3 resolution tiers for document photography:
- 8 MP (3264×2448): Sufficient for A4 pages with 10pt+ text. Equivalent to approximately 280 DPI across the page width.
- 12 MP (4032×3024): Recommended for A4 pages with 8pt+ text. Equivalent to approximately 350 DPI. This is the standard resolution on modern smartphones.
- 48+ MP (8000×6000): Professional cameras. Captures fine print and footnotes. Equivalent to 700+ DPI — far exceeding OCR requirements.
Tips for Photographing Documents
Hold your phone parallel to the document surface. Ensure even lighting without shadows. Use the camera's document scanning mode, if available, for automatic edge detection. Avoid flash, as it creates reflective hotspots on glossy paper that obscure text.