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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
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://pix2tex.readthedocs.io/en/latest/?badge=latest)[](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)
3
+
[](https://github.com/lukas-blecher/LaTeX-OCR)[](https://pix2tex.readthedocs.io/en/latest/?badge=latest)[](https://pypi.org/project/pix2tex)[](https://pypi.org/project/pix2tex)[](https://github.com/lukas-blecher/LaTeX-OCR/releases)[](https://hub.docker.com/r/lukasblecher/pix2tex)[](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
@@ -34,15 +34,15 @@ There are three ways to get a prediction from an image.
34
34
```bash
35
35
python -m pix2tex.api.run
36
36
```
37
-
to start a [Streamlit](https://streamlit.io/) demo that connects to the API at port 8502. There is also a docker image available for the API: https://hub.docker.com/r/lukasblecher/pix2tex
37
+
to start a [Streamlit](https://streamlit.io/) demo that connects to the API at port 8502. There is also a docker image available for the API: https://hub.docker.com/r/lukasblecher/pix2tex [](https://hub.docker.com/r/lukasblecher/pix2tex)
38
38
39
39
```
40
40
docker pull lukasblecher/pix2tex:api
41
-
docker run -p 8502:8502 lukasblecher/pix2tex:api
41
+
docker run --rm -p 8502:8502 lukasblecher/pix2tex:api
42
42
```
43
43
To also run the streamlit demo run
44
44
```
45
-
docker run -it -p 8501:8501 --entrypoint python lukasblecher/pix2tex:api pix2tex/api/run.py
45
+
docker run --rm -it -p 8501:8501 --entrypoint python lukasblecher/pix2tex:api pix2tex/api/run.py
0 commit comments