DeepErase: Weakly Supervised Ink Artifact Removal in Document Text Images

W. Ronny Huang, Yike Qi, Qianqian Li, Jonathan Degange
10/15/2019
8 citations
cs.CVcs.LGcs.NE

Official code: yikeqicn/DeepErase (62 stars, Jupyter Notebook, last commit 2019-07-28).

Abstract

Paper-intensive industries like insurance, law, and government have long leveraged optical character recognition (OCR) to automatically transcribe hordes of scanned documents into text strings for downstream processing. Even in 2019, there are still many scanned documents and mail that come into businesses in non-digital format.

Show full abstract

Text to be extracted from real world documents is often nestled inside rich formatting, such as tabular structures or forms with fill-in-the-blank boxes or underlines whose ink often touches or even strikes through the ink of the text itself. Further, the text region could have random ink smudges or spurious strokes. Such ink artifacts can severely interfere with the performance of recognition algorithms or other downstream processing tasks. In this work, we propose DeepErase, a neural-based preprocessor to erase ink artifacts from text images. We devise a method to programmatically assemble real text images and real artifacts into realistic-looking "dirty" text images, and use them to train an artifact segmentation network in a weakly supervised manner, since pixel-level annotations are automatically obtained during the assembly process. In addition to high segmentation accuracy, we show that our cleansed images achieve a significant boost in recognition accuracy by popular OCR software such as Tesseract 4.0. Finally, we test DeepErase on out-of-distribution datasets (NIST SDB) of scanned IRS tax return forms and achieve double-digit improvements in accuracy. All experiments are performed on both printed and handwritten text. Code for all experiments is available at https://github.com/yikeqicn/DeepErase

View on arXivView PDF

Code Implementations(1)

yikeqicn/DeepEraseOfficial100%

A Unet based deeplearning model to line/box/spurious artifacts from text images. Unsupervised training.

6217Jupyter Notebook, PythonJul 28, 20197 years ago

Similar Papers

Cite this paper

@article{huang2019deeperase,
  title  = {DeepErase: Weakly Supervised Ink Artifact Removal in Document Text Images},
  author = {W. Ronny Huang and Yike Qi and Qianqian Li and Jonathan Degange},
  year   = {2019},
  eprint = {1910.07070},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.07070}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.07070.svg)](https://codeofpaper.com/paper/1910.07070)

Discussion