Re:OCR It – pull text out of un-copyable documents for your LLM
by kalinkochnev on Monday August 24, 2026 @09:14AM
(#49419322)
Does anyone have suggestions on how I could OCR lots of handwritten math notes with diagrams? I have tons of PDFs waiting for me to manually type them myself and can't justify dedicating weeks to do it.
[ Parent
| on HN ]
Re:OCR It – pull text out of un-copyable documents for your LLM
by phenomen on Monday August 24, 2026 @11:23AM
(#49421088)
I tested many open-source and hosted OCR models and Datalab Chandra was the most accurate. It can parse complex layouts, tables, handwriting, and formulas at a fraction of the cost of Claude/Gemini.
Local: https://github.com/datalab-to/chandra Hosted: https://www.datalab.to
Another decent option is GLM OCR. It's slightly less accurate but faster and cheaper.
Local: https://github.com/zai-org/GLM-OCR Hosted: https://docs.z.ai/guides/vlm/glm-ocr
Other models such as PaddleOCR, dots.ocr and DeepSeek OCR performed significantly worse.
Re:OCR It – pull text out of un-copyable documents for your LLM
by xiaoyu2006 on Monday August 24, 2026 @10:07AM
(#49419999)
I've seen papers using fine-tuned small local vision models to transcribe math into latex. Personally I tried Claude Opus & Claude Code directly to do this. It works (to my surprise) but AI sometimes take guesses that are mathematically right but deviates with my original writing. There is no 100% correct method though.
Re:OCR It – pull text out of un-copyable documents for your LLM
by ch4s3 on Monday August 24, 2026 @10:27AM
(#49420300)
> take guesses that are mathematically right but deviates with my original writing.
Its rather interesting if it's correcting a mistake or picking a correct alternative.
How accurate do you think it is overall?