Description
RapidLaTeXOCR is a Python tool that converts images of math formulas into LaTeX code. It is based on the LaTeX-OCR project, but the models have been converted to ONNX format and the inference code has been simplified, so it runs faster and is easier to deploy. It runs with ONNX Runtime or OpenVINO and does not include training code. When you install the package from pip, the model file is downloaded automatically into the installation directory. If your connection is slow, the README says you can download the model separately through Google Drive or Baidu NetDisk. You can use it from a Python script or from the command line, and the README includes examples for both. The repository links to a model conversion guide and an online demo. The README asks users who want to train their own model to go to the LaTeX-OCR project instead. The project is released under the MIT license, and contributions through pull requests are welcome. The author also accepts sponsorship and lists sponsors in the README.…
Highlights
- Converts formula images to LaTeX
- Runs on ONNX Runtime or OpenVINO
- Installs from pip with the model included
- Python script and command line usage
- MIT license
Ratings & Reviews
No ratings yet
Be the first to rate RapidLaTeXOCR.
People also visit
TeXPen.github.io
Handwritten LaTeX drawing website with real-time local OCR detection inference
Mathcheap
Mathcheap converts math images to LaTeX code and provides Greek letters

Text to LaTeX
Text to LaTeX converts your natural language descriptions of mathematical
RapidLaTeXOCR FAQ
What does RapidLaTeXOCR do?
It converts an image of a math formula into LaTeX code.
How do I install it?
Install it with pip. The model file downloads automatically into the installation directory. If the download is slow, the README links alternative download options.
Can I use it without writing code?
Yes. The README shows a command-line usage example as well as a Python script example.
Can I train my own model?
No. The repository only contains inference code. The README points to LaTeX-OCR for training.
What license is it under?
The project is released under the MIT license, and its source is public on GitHub.
What are the best RapidLaTeXOCR alternatives?
Popular alternatives to RapidLaTeXOCR include LaTeX-OCR, Pix2Text (P2T) and Upmath.me. See all RapidLaTeXOCR alternatives

