Surya OCR 2 Layout Analysis - Why Higher F1 Did Not Make It Our Default

Download printable cheat-sheet (CC-BY 4.0)

28 Jul 2026, 00:00 Z

A higher layout score does not automatically mean a better document pipeline. We learned that while testing Surya OCR 2 against a Paddle layout detector on public-safe historical documents.

Surya reached a higher aggregate Region F1 on two labelled samples. It also found more text regions. But it produced fragmented boxes, weaker label agreement on one sample, and incomplete non-text coverage. When we used its boxes to drive downstream OCR, the extra crops often duplicated or split text that was already covered.

The result was useful, but narrower than "Surya beats Paddle." It showed why OCR layout evaluation needs several metrics and a visual audit before a detector becomes the default.

The short version

  • Surya OCR 2 completed a 60-page layout run with no failures or warnings.
  • On that sample, Surya's Region F1 was 0.669536, versus 0.619309 for Paddle.
  • The gain came mainly from stronger text-region recall.
  • Surya emitted no figure or separator regions in that scored view, while Paddle recovered some figures.
  • A second 15-page dataset again favored Surya on Region F1, but lower precision and over-segmentation persisted.
  • Surya-selected crops could be read by FireRed, but many additional crops were fragments or duplicates rather than new document evidence.
  • We kept Paddle as the default detector and Surya as a diagnostic challenger.

What Surya OCR 2 actually does

Surya 2 is a compact document model that supports OCR, layout analysis, reading order, and table recognition. The upstream release describes a roughly 650M parameter model served through vLLM on NVIDIA GPUs or llama.cpp on CPU and Apple Silicon. The public model card reports about 0.7B parameters.

Those upstream claims establish the intended capabilities. They do not establish how Surya behaves on our documents. Our findings below are local reproductions on an RTX 3090 Ti and public-safe labelled samples.

Sources: Surya repository, Surya OCR 2 model card, and Surya 2 release notes.

The layout question we tested

The practical question was not "Which model has the highest score?" It was:

Can Surya replace Paddle as the detector that finds page regions before OCR?

That role requires more than finding text. A useful detector must preserve the regions, labels, and order needed by the downstream workflow without creating excessive duplicate or fragment crops.

We separated four things that are often mixed together:

Turn AI video into a repeatable engine

Build an AI-assisted video pipeline with hook-first scripts, brand-safe edits, and multi-platform delivery.