OCR lib for math formulas

Viewed 45173

I need an open OCR library which is able to scan complex printed math formulas (for example some formulas which were generated via LaTeX). I want to get some LaTeX-like output (or just some AST-like data).

Is there something like this already? Or are current OCR technics just able to parse line-oriented text?

(Note that I also posted this question on Metaoptimize because some people there might have additional knowledge.)

The problem was also described by OpenAI as im2latex.

10 Answers

As of August 2019, there are a few options, depending on what you need: For converting printed math equations/formulas to LaTex, Mathpix is absolutely the best choice. It's free. For converting handwritten math to LaTex or printed math, MyScript is the best option, although its app costs a few dollars.

Related