Collaborative handwritten text recognition for historical documents from Sweden's National Archives (Riksarkivet).
Live demo: https://huggingface.co/spaces/carpelan/lejonet
| Layer | Technology |
|---|---|
| Frontend | Svelte 5, Tailwind CSS 4, ONNX Runtime Web |
| Docs | Zensical |
| CI/CD | Dagger, Docker, GitHub Actions |
make setup # Install dependencies
make dev # Start frontend dev server at http://localhost:5173- Docs site — architecture, configuration, getting started
- In-browser HTR — ONNX Runtime Web (WASM) with multi-threaded inference
- GPU acceleration — Optional GPU server for faster inference
- Export — ALTO XML, PAGE XML, JSON, plain text
- i18n — Swedish and English
Layout Detection (RTMDet) → Line Detection (YOLO) → Transcription (TrOCR)
- Node.js 22+ — frontend runtime