[Paper Review] Joint Layout Analysis, Character Detection and Recognition for Historical Document Digitization
This paper proposes an end-to-end, jointly trainable framework for historical document digitization that simultaneously performs layout analysis, character detection, and recognition using a dual-branch network: a character branch for per-character detection and recognition, and a layout branch using a fully convolutional network (FCN) to generate binary masks for Hough-based line detection. The method achieves state-of-the-art performance on the extended MTHv2 dataset, with a 98.60% F-score in layout analysis and a 96.07% correct rate using a re-score mechanism that leverages language models to reduce recognition errors.
In this paper, we propose an end-to-end trainable framework for restoring historical documents content that follows the correct reading order. In this framework, two branches named character branch and layout branch are added behind the feature extraction network. The character branch localizes individual characters in a document image and recognizes them simultaneously. Then we adopt a post-processing method to group them into text lines. The layout branch based on fully convolutional network outputs a binary mask. We then use Hough transform for line detection on the binary mask and combine character results with the layout information to restore document content. These two branches can be trained in parallel and are easy to train. Furthermore, we propose a re-score mechanism to minimize recognition error. Experiment results on the extended Chinese historical document MTHv2 dataset demonstrate the effectiveness of the proposed framework.
Motivation & Objective
- To address the limitations of traditional, separate pipeline approaches in historical document digitization, which suffer from error accumulation and poor robustness on degraded documents with complex layouts.
- To develop an end-to-end trainable framework that integrates layout analysis, character detection, and recognition to improve accuracy and streamline processing.
- To enhance recognition robustness on damaged historical documents by leveraging implicit language models through a re-score mechanism.
- To facilitate future research by releasing an extended, fully annotated Chinese historical document dataset (MTHv2) with layout, character, and text line annotations.
Proposed method
- The framework uses a feature extraction backbone (ResNet-50) with Feature Pyramid Network (FPN) to generate multi-scale features.
- A character branch performs instance-level detection and classification, outputting bounding boxes and class labels for individual characters.
- A layout branch employs a fully convolutional network (FCN) to predict a binary mask indicating text regions, which is then processed via Hough transform for line detection.
- Post-processing groups detected characters into text lines based on spatial proximity and layout structure, ensuring correct reading order (right-to-left, top-to-bottom).
- A re-score mechanism combines predictions from character-level and text-line-level models, using language model priors to correct recognition errors and improve robustness.
- The entire framework is trained end-to-end with parallel optimization of both branches, enabling joint learning of layout and recognition tasks.
Experimental results
Research questions
- RQ1Can an end-to-end framework jointly optimize layout analysis, character detection, and recognition to reduce error propagation in historical document digitization?
- RQ2How does FCN-based layout detection compare to traditional hand-crafted methods like projection profile analysis in handling complex backgrounds and varied layouts?
- RQ3To what extent can a re-score mechanism that leverages language models improve recognition accuracy on degraded historical documents?
- RQ4Can character-level detection and recognition outperform sequence-based methods in preserving correct reading order, especially in multi-column layouts?
Key findings
- The proposed framework achieves a 98.60% F-score in layout analysis on the MTHv2 dataset, significantly outperforming projection profile analysis (78.17% F-score).
- The FCN-based layout branch achieves 97.77% precision and 99.44% recall, demonstrating superior robustness on complex backgrounds and diverse layouts.
- Text line detection using the character-based method reaches a 97.72% H-mean at IoU=0.5, outperforming both traditional methods and models like EAST and Mask R-CNN.
- The re-score mechanism boosts the correct rate (CR) from 95.09% (text line model) and 94.63% (character model) to 96.07%, showing strong synergy between the two recognition streams.
- The framework achieves a 95.52% accuracy rate (AR), demonstrating high reliability in reconstructing documents in correct reading order.
- The extended MTHv2 dataset, now publicly available, includes detailed annotations for layout, characters, and text lines, supporting future research in Chinese historical document analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.