TexTeller Documentation#
Features#
Image to LaTeX Conversion: Convert images containing LaTeX formulas to LaTeX code
LaTeX Detection: Detect and locate LaTeX formulas in mixed text/formula images
Paragraph to Markdown: Convert mixed text and formula images to Markdown format
Installation#
You can install TexTeller using pip:
pip install texteller
Quick Start#
Converting an image to LaTeX:
from texteller import load_model, load_tokenizer, img2latex
# Load models
model = load_model(use_onnx=False)
tokenizer = load_tokenizer()
# Convert image to LaTeX
latex = img2latex(model, tokenizer, ["path/to/image.png"])[0]
Processing a mixed text/formula image:
API Documentation#
For detailed API documentation, please see API Reference.