Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.54 KB

README.md

File metadata and controls

23 lines (14 loc) · 1.54 KB

pix2tex - LaTeX OCR

GitHub

This is a fork of lukas-blecher/LaTeX-OCR for enhanced usability with Docker. For detailed usage instructions, see the original repository.

Usage

This repository contains a docker-compose.yml file to get you started quickly.

  1. Either build the containers yourself using docker compose build or pull the containers from Dockerhub: docker compose pull
  2. Run both docker compose up -d
  3. Navigate to localhost:8501 to use the frontend

By default, the api service port is not published and is only accessible to the frontend. Add the ports attribute to that service to make port 8501 available. If you only want to use the api, you can remove the frontend.

Acknowledgment

This is a fork of lukas-blecher/LaTeX-OCR who acknowledged the following people:

Code taken and modified from lucidrains, rwightman, im2markup, arxiv_leaks, pkra: Mathjax, harupy: snipping tool

Fonts

Latin Modern Math, GFSNeohellenicMath.otf, Asana Math, XITS Math, Cambria Math