paper-with-me

홈 › Papers

DocTr: Document Image Transformer for Geometric Unwarping and Illumination Correction

2021-10-25 · Hao Feng, Yuechen Wang, Wengang Zhou, Jiajun Deng, Houqiang Li

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.

📄 PDF Abstract BibTeX arXiv:2110.12942

Code (2)

fh2019ustc/doctr 공식 구현 pytorch
xiaomore/document-image-dewarping pytorch

Tasks

Optical Character Recognition (OCR)

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Position-Wise Feed-Forward Layer 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

UVDoc: Neural Grid-based Document Unwarping

2023-02-06 · Floor Verhoeven, Tanguy Magne, Olga Sorkine-Hornung

Restoring the original, flat appearance of a printed document from casual photographs of bent and wrinkled pages is a common everyday problem. In this paper we propose a novel method for grid-based single-image document …

distortion correctionMS-SSIMSSIM

End-to-End Piece-Wise Unwarping of Document Images

2021-01-01 · ICCV 2021 10 · Sagnik Das, Kunwar Yashraj Singh, Jon Wu, Erhan Bas 외

Document unwarping attempts to undo the physical deformation of the paper and recover a 'flatbed' scanned document-image for downstream tasks such as OCR. Current state-of-the-art relies on global unwarping of the do…

MS-SSIMOptical Character Recognition (OCR)SSIM

Geometric Representation Learning for Document Image Rectification

2022-10-15 · Hao Feng, Wengang Zhou, Jiajun Deng, Yuechen Wang 외

In document image rectification, there exist rich geometric constraints between the distorted image and the ground truth one. However, such geometric constraints are largely ignored in existing advanced solutions, which …

Representation Learning

Deep Unrestricted Document Image Rectification

2023-04-18 · Hao Feng, Shaokai Liu, Jiajun Deng, Wengang Zhou 외

In recent years, tremendous efforts have been made on document image rectification, but existing advanced algorithms are limited to processing restricted document images, i.e., the input images must incorporate a complet…

Local Distortion

DewarpNet: Single-Image Document Unwarping With Stacked 3D and 2D Regression Networks

2019-10-01 · ICCV 2019 10 · Sagnik Das, Ke Ma, Zhixin Shu, Dimitris Samaras 외

Capturing document images with hand-held devices in unstructured environments is a common practice nowadays. However, "casual" photos of documents are usually unsuitable for automatic information extraction, mainly due t…

3D geometryLocal DistortionMS-SSIMOptical Character Recognition (OCR)+2