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

https://github.com/0xwoland/image-to-latex

🔄 Convert images of mathematical equations to LaTeX code instantly. Upload images or PDFs, get LaTeX output with live preview.
https://github.com/0xwoland/image-to-latex

Last synced: about 2 months ago
JSON representation

🔄 Convert images of mathematical equations to LaTeX code instantly. Upload images or PDFs, get LaTeX output with live preview.

Awesome Lists containing this project

README

        

# Image to LaTeX Converter

![Screenshot](output.gif)

A web application that converts images containing mathematical equations, diagrams, and text into LaTeX code. The application supports both single and multiple image uploads, PDF uploads, and provides real-time conversion progress feedback.

## Prerequisites

- Node.js (v14 or higher)
- pnpm
- LaTex distribution (e.g., TexLive)

## Build

1. Install dependencies
```bash
cd backend
pnpm install
cd ../frontend
pnpm install
```

2. Start the backend server
```bash
cd backend
pnpm start
```

3. Start the frontend server
```bash
cd frontend
pnpm start
```

Environment variables
```bash
XAI_API_KEY=
PORT=3001
```