Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

DocTr: Document Image Transformer for Geometric Unwarping and Illumination Correction

About

In this work, we propose a new framework, called Document Image Transformer (DocTr), to address the issue of geometry and illumination distortion of the document images. Specifically, DocTr consists of a geometric unwarping transformer and an illumination correction transformer. By setting a set of learned query embedding, the geometric unwarping transformer captures the global context of the document image by self-attention mechanism and decodes the pixel-wise displacement solution to correct the geometric distortion. After geometric unwarping, our illumination correction transformer further removes the shading artifacts to improve the visual quality and OCR accuracy. Extensive evaluations are conducted on several datasets, and superior results are reported against the state-of-the-art methods. Remarkably, our DocTr achieves 20.02% Character Error Rate (CER), a 15% absolute improvement over the state-of-the-art methods. Moreover, it also shows high efficiency on running time and parameter count. The results will be available at https://github.com/fh2019ustc/DocTr for further comparison.

Hao Feng, Yuechen Wang, Wengang Zhou, Jiajun Deng, Houqiang Li• 2021

Related benchmarks

TaskDatasetResultRank
Entity LinkingFUNSD (test)
F1 Score73.9
42
Document DewarpingDocUNet (test)
MS-SSIM0.51
18
Semantic Entity RecognitionCORD (test)
F1 Score98.2
18
Document Image RectificationBook100
MSSIM0.47
9
Document RectificationUDIR (test)
MSSIM-M38
7
Quantitative comparisons on the proposed UDIR test setUDIR Proposed (test)
MSSIM-M0.38
7
Running Efficiency AnalysisDocUNet Benchmark 40 (test)
FPS7.4
7
Showing 7 of 7 rows

Other info

Follow for update