NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

TC-OCR: TableCraft OCR for Efficient Detection & Recognition of Table Structure & Content

Avinash Anand, Raj Jaiswal, Pijush Bhuyan, Mohit Gupta, Siddhesh Bangar, Md. Modassir Imam, Rajiv Ratn Shah, Shin'ichi Satoh

Abstract

TC-OCR (TableCraft OCR) is an end-to-end pipeline designed for high-performance table recognition. By integrating three specialized deep learning models—DETR for table detection, CascadeTabNet for structure recognition, and PP-OCR v2 for content extraction—TC-OCR achieves a 25% relative improvement in OCR accuracy over the Table Transformer (TATR) while maintaining superior inference speeds.

Introduction

Tables are ubiquitous in documents but present significant challenges for automated extraction due to diverse layouts, varying border styles, and sparse data. Existing solutions often suffer from fragmentation between detection and structure recognition or struggle with the computational complexity of transformer-based models on large tables.

Table Detection (TD) identifies the table region within a full document page.

The authors aim to create a "one-stop-shop" pipeline that can handle the entire process—from a raw document image to a structured CSV—with high precision and speed.

Methods

The TC-OCR architecture employs a modular, three-stage approach:

  1. Table Detection (TD): Utilizing the DEtection TRansformer (DETR), the system localizes tables within document images as a direct set prediction problem, avoiding complex post-processing like Non-Maximum Suppression (NMS).
  2. Table Structure Recognition (TSR): CascadeTabNet, a multi-stage CNN, classifies tables as "bordered" or "borderless" and segments them into individual cells.
  3. Table Content Recognition (TCR): For text extraction, the system uses PP-OCR v2, a lightweight and efficient OCR engine.
The TC-OCR pipeline stages: Table Detection (TD), Table Structure Recognition (TSR), and Table Content Recognition (TCR).

A novel Centroid Mapping algorithm aligns the OCR text with the detected cell coordinates. By calculating the center point of every word and matching it to cell coordinates using a "flexible threshold" (half the cell's width/length), the system remains resilient to image distortions and sparse data.

Datasets

The researchers utilized TableBank, a massive open-domain benchmark containing over 417,000 tables extracted from Word and LaTeX documents. This dataset provides the necessary diversity in layouts and domains to train large-scale analysis models.

Key Results

Evaluation on 8,000 samples from TableBank demonstrates TC-OCR's superiority over the state-of-the-art Table Transformer (TATR):

  • Accuracy: TC-OCR achieved an Intersection over Union (IoU) of 0.96 (vs. 0.94 for TATR) and an OCR Accuracy of 78% (vs. 62% for TATR), representing a 25% relative improvement.
  • Speed: The pipeline is significantly faster, with an average inference time of 8.23 seconds per document, compared to 12.43 seconds for TATR.
  • Structural Integrity: Qualitative results show the model is much better at preserving original table organization, particularly for tables with varying column widths.

Conclusion

TC-OCR demonstrates that a pipeline of specialized models (CNNs for structure, Transformers for detection) can outperform monolithic architectures. While challenges like merged cells and nested tables remain for future work, TC-OCR provides a robust and efficient solution for automated table analysis in complex documents.

Summary updated

BibTeX
@inproceedings{anand2023tc,
  author = {Avinash Anand and Raj Jaiswal and Pijush Bhuyan and Mohit Gupta and Siddhesh Bangar and Md. Modassir Imam and Rajiv Ratn Shah and Shin'ichi Satoh},
  title = {{TC-OCR: TableCraft OCR for Efficient Detection \& Recognition of Table Structure \& Content}},
  booktitle = {MMIR@MM},
  year = {2023},
}
Figure