Nothing Special   »   [go: up one dir, main page]

Skip to content

rinkp/latex-ocr-docker

 
 

Repository files navigation

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

Languages

  • Python 96.7%
  • JavaScript 1.7%
  • Jupyter Notebook 1.6%