The development build is showing a recorded Granite 500M result from a real Jetson run.

What Granite Docling sees on a scanned calculus page

I’m testing IBM’s Granite Docling V2 as an optional layout and formula reader in YAGF, an open-source OCR app for Linux. It runs on a Jetson AGX Orin and returns DocLang, which YAGF turns into editable page regions. Granite Docling model card

On the calculus page in the screenshot, 500M proposed 24 areas, including four display equations. It also read 31 inline formulas inside paragraphs. Those formulas came back without individual boxes, so YAGF keeps their paragraphs marked Text + formulas. In the layout review, I can also accept or correct a block’s role, such as Page header, Heading, or Caption.

The smaller model surprised me. On 16 verified calculus crops, 500M got 12 complete formulas right, with a median of 2.6 seconds per crop. The 2B model got 9 right on that set. On a separate set of 10 subscript-heavy crops, 2B needed 9 subscript edits, compared with 42 for 500M, across 69 reference subscripts.

If you work on OCR for scanned books, how do you evaluate inline equations when the transcription is right and the location is still uncertain? I’d like to add more examples like these to the benchmark.

YAGF 2 on GitHub