You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# pix2tex - LaTeX OCR
2
2
3
-
[](https://github.com/lukas-blecher/LaTeX-OCR)[](https://pypi.org/project/pix2tex)[](https://pypi.org/project/pix2tex)[](https://github.com/lukas-blecher/LaTeX-OCR/releases)[](https://colab.research.google.com/github/lukas-blecher/LaTeX-OCR/blob/master/notebooks/LaTeX_OCR_test.ipynb)
3
+
[](https://github.com/lukas-blecher/LaTeX-OCR)[](https://pypi.org/project/pix2tex)[](https://pypi.org/project/pix2tex)[](https://github.com/lukas-blecher/LaTeX-OCR/releases)[](https://colab.research.google.com/github/lukas-blecher/LaTeX-OCR/blob/main/notebooks/LaTeX_OCR_test.ipynb)
4
4
5
5
The goal of this project is to create a learning based system that takes an image of a math formula and returns corresponding LaTeX code.
6
6
@@ -15,7 +15,7 @@ Install the package `pix2tex`:
15
15
pip install pix2tex
16
16
```
17
17
18
-
Model checkpoints will be automatically downloaded.
18
+
Model checkpoints will be downloaded automatically.
19
19
20
20
There are two ways to get a prediction from an image.
21
21
1. You can use the command line tool by calling `pix2tex_cli`. Here you can parse already existing images from the disk and images in your clipboard.
@@ -33,7 +33,7 @@ The model works best with images of smaller resolution. That's why I added a pre
33
33
34
34
Always double check the result carefully. You can try to redo the prediction with an other resolution if the answer was wrong.
35
35
36
-
## Training the model [](https://colab.research.google.com/github/lukas-blecher/LaTeX-OCR/blob/master/notebooks/LaTeX_OCR_training.ipynb)
36
+
## Training the model [](https://colab.research.google.com/github/lukas-blecher/LaTeX-OCR/blob/main/notebooks/LaTeX_OCR_training.ipynb)
37
37
38
38
1. First we need to combine the images with their ground truth labels. I wrote a dataset class (which needs further improving) that saves the relative paths to the images with the LaTeX code they were rendered with. To generate the dataset pickle file run
0 commit comments