Nine Things That Decide Whether Your Formula OCR Is Accurate

Accuracy complaints about maths OCR almost always trace back to the input image rather than the model. These are the nine variables that move the result…

Accuracy complaints about maths OCR almost always trace back to the input image rather than the model. These are the nine variables that move the result the most, roughly in descending order of impact.

  1. Focus. Motion blur and missed focus destroy thin strokes; the model then guesses a similar symbol.
  2. Resolution at the symbol level. It is not megapixels that matter but pixels per glyph — 20 px tall strokes transcribe reliably, 8 px does not.
  3. Framing. Crop to the equation. Every extra line of prose is a chance to transcribe the wrong thing.
  4. Angle. Shoot square to the page; a steep angle compresses superscripts into their bases.
  5. Contrast. Pencil on grey paper is a different problem from ink on white.
  6. Distortion. A curved page near the spine of a book bends baselines.
  7. Ambiguous glyphs. A handwritten l, 1 and ( collapse into one shape; a dotted i loses its dot.
  8. Layout density. Multi-line aligned systems need clearer row separation than a single equation.
  9. Language. Text mixed into the image pulls the recogniser towards prose transcription.

The check that catches the rest

Render the output. A mistranscribed symbol that compiles and looks right is fine; one that fails to compile, or renders something semantically odd, tells you where to fix. Checking a rendered formula takes a second; proofreading raw LaTeX takes a minute and misses things.

accuracyphotographyocr

Keep reading

Three ways into the same idea: the notation itself, the lesson that teaches it, and an article that applies it.