Introduction
Digitizing historical documents presents significant challenges for traditional Optical Character Recognition (OCR) systems. Over centuries, physical degradation—such as stains, ink seepage, and tears—renders characters nearly illegible. Furthermore, historical Chinese texts often feature complex layouts, such as "double-column" interlinear notes embedded within a single column of larger text. Traditional serial pipelines, which perform layout analysis before recognition, often fail when structural errors in the first stage propagate through the system.
Proposed Methodology
To address these issues, researchers have developed an end-to-end trainable framework that treats layout analysis and character recognition as a joint task. The architecture is built upon a ResNet-50 backbone with a Feature Pyramid Network (FPN) to accommodate characters of varying scales.
The system consists of three primary components:
- Character Branch: Utilizing a Region Proposal Network (RPN) and RoIAlign, this branch detects and classifies individual characters. By operating at the character level, the model remains robust against the structural complexities of "sandwiched" text columns.
- Layout Branch: This branch employs a Fully Convolutional Network (FCN) to generate binary masks of column boundaries. A Hough transform is then applied to these masks to precisely delineate the document's vertical structure.
- Re-score Mechanism: To mitigate errors caused by physical document damage, a separate sequence-based Convolutional Recurrent Neural Network (CRNN) acts as an implicit language model. By comparing character-level detections with sequence-level predictions via an edit distance algorithm, the system can linguistically correct visual misidentifications.
Overcoming Complex Layouts
A major innovation of this work is its ability to handle layouts where traditional projection-profile methods fail. In standard analysis, interlinear notes often cause "merging" errors, where two small columns are incorrectly identified as a single block.
By detecting individual characters first and then grouping them using the layout branch's boundary information, the proposed system avoids these common pitfalls. This joint approach ensures that the feature extractor learns representations beneficial to both structural understanding and character identification.
Experimental Results
The framework was evaluated on the MTHv2 dataset, which contains 2,200 document images featuring over 758,000 characters. The results demonstrate state-of-the-art performance across all metrics:
- Layout Analysis: The system achieved an F-score of 98.60%, significantly outperforming traditional projection analysis (78.17%).
- Text Line Detection: The model reached an H-mean of 97.72%, surpassing general-purpose detectors like EAST and Mask R-CNN.
- Recognition Accuracy: The re-score mechanism improved the final Correct Rate (CR) to 96.07%, proving the effectiveness of the linguistic context in correcting visual errors.
Conclusion
While the system achieves high precision, the reliance on character-level annotations presents a scalability challenge due to the high cost of manual labeling. Future research will likely explore weakly supervised training methods to leverage easier-to-obtain line-level transcriptions while maintaining the robustness of character-level detection.
Summary updated