An open API service indexing awesome lists of open source software.

https://github.com/wikunia/he2latex

Converting handwritten equations to LaTeX
https://github.com/wikunia/he2latex

convolutional-neural-networks ocr-recognition sequence-to-sequence

Last synced: 12 months ago
JSON representation

Converting handwritten equations to LaTeX

Awesome Lists containing this project

README

          

# HE2LaTeX

**Not supported anymore**
I can't support this project anymore with the necessary download files as they are too huge for my small server.

The main goal of this repository is to provide a framework of constructing LaTeX equations out of handwritten images.

Converting this:
![Handwritten equation](report/formula.png)

to:

```
$\frac{977}{312}\lambda^3-580 \neq 458$
```

A short test can be done using the jupyter notebook [short_test.ipynb](short_test.ipynb).

For downloading all data needed for training run:

```
python download.py
```

The sequence to sequence model can be trained using the jupyter notebook [Seq2Seq.ipynb](Seq2Seq.ipynb) where also the model used is shown.

If the model itself changed the file `Seq2SeqModel/Seq2SeqModel.py` has to be changed as well.