Layout Analysis and Recognition — a collaborative platform for document annotation, OCR correction, and ground-truth datasets.
Documentation · Releases · Report an issue
LAREX helps teams turn document images into reviewed layout annotations and transcriptions, then reuse that work in exports, datasets, training, and evaluation.
- Annotate layout and text: draw regions, lines, and tables, set the reading order, and correct transcriptions in a PAGE XML editor.
- Work as a team: organize workspaces and projects, assign page Tasks, review pages, and restore earlier versions.
- Import and export: bring in images, PAGE XML (including Transkribus exports), ALTO, FineReader XML, hOCR, PDFs, IIIF sources, or LAREX packages, and export PAGE XML, text, PDF, ALTO, FineReader XML, hOCR, TEI, DOCX, CSV, or XLSX.
- Build datasets: collect pages, assign splits, and freeze versioned dataset releases.
- Automate with Actions: run external processors for layout analysis and recognition, integrations, model training, and evaluation, alone or as workflows.
LAREX runs with Docker Compose. Create a versioned deployment bundle with the installation wizard, or download larex-deployment-<version>.zip from the latest release and follow its INSTALL.md. See production deployment for reverse proxies, Keycloak, and backups.
Start with your first project, then follow the user guide. To process documents automatically, see LAREX Actions, including training and evaluation.
With Docker and Docker Compose v2 installed:
git clone https://github.com/OCR4all/LAREX.git
cd LAREX
docker compose up -dOpen larex.localhost. See the development guide, command reference, and contributing guidelines.
LAREX 1.0 is a new application. The previous LAREX 0.7 releases remain available on the legacy branch.
MIT · Centre for Philology and Digitality (ZPD), University of Würzburg.