End-to-End Text Line Detection and Ordering
Not on the map. Why?
Abstract (arXiv)
Practical text-recognition pipelines for historical documents typically decompose layout analysis into line detection followed by a separate reading-order step, with the latter most often handled by a hand-coded geometric heuristic that struggles with marginalia, multiple columns, tables, and source-specific editorial conventions. This article introduces Orli (Ordered Regression of Lines), an end-to-end model that casts both sub-tasks as a single image-to-sequence problem: from a page image, Orli autoregressively generates text-line baselines directly in reading order. Baselines are represented in a chord-frame parameterization that anchors a line's position, orientation, and extent while encoding local geometry through perpendicular offsets; an iterative refinement head and a local visual refiner produce the final curve. Trained on a heterogeneous corpus of 196,691 pages spanning ten writing systems, Orli marginally exceeds the previously reported state of the art for cBAD line detection without dataset-specific training, reaches near perfect coverage and ordering on multiple reading-order benchmarks zero-shot, and adapts to more specialized out-of-domain layouts with limited fine-tuning. The method's source code and model weights are available under an open license at https://github.com/mittagessen/orli.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 19 of its 34 references that are in the map. First posted on arXiv 2 Jun 2026.
Builds on
19 of 34 references.
References · 19
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2025Qwen3-VL Technical Reportcited by 2,534
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2018Path Aggregation Network for Instance Segmentationcited by 796
- 2023ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoderscited by 703
- 2022DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETRcited by 569
- 2023DETRs Beat YOLOs on Real-time Object Detectioncited by 526
- 2021LayoutReader: Pre-training of Text and Layout for Reading Order Detectioncited by 79
- 2022DAN: a Segmentation-free Document Attention Network for Handwritten Document Recognitioncited by 62
- 2020End-to-end Handwritten Paragraph Text Recognition Using a Vertical Attention Networkcited by 50
7 more
- 2018dhSegment: A generic deep-learning approach for document segmentationcited by 32
- 2018A Two-Stage Method for Text Line Detection in Historical Documentscited by 26
- 2026LightOnOCR: A 1B End-to-End Multilingual Vision-Language Model for State-of-the-Art OCRcited by 22
- 2021Page Layout Analysis System for Unconstrained Historic Documentscited by 20
- 2017READ-BAD: A New Dataset and Evaluation Scheme for Baseline Detection in Archival Documentscited by 17
- 2026Structure-Aware Text Recognition for Ancient Greek Critical Editionscited by 5
- 2026Error Patterns in Historical OCR: A Comparative Analysis of TrOCR and a Vision-Language Modelcited by 2
Built on by
Not cited yet.