LayoutParser: A Unified Toolkit for Deep Learning Based Document Image Analysis

Zejiang Shen, Ruochen Zhang, Melissa Dell, Benjamin Charles Germain Lee, Jacob Carlson +1 more
3/29/2021
cs.CVcs.AI

Official code: Layout-Parser/layout-parser (5,776 stars, Apache-2.0, last commit 2024-08-15). Most starred: PaddlePaddle/PaddleOCR, a community implementation (86,599 stars, Apache-2.0, last commit 2026-04-28, 15× the official stars). 2 more implementations below.

Abstract

Recent advances in document image analysis (DIA) have been primarily driven by the application of neural networks. Ideally, research outcomes could be easily deployed in production and extended for further investigation. However, various factors like loosely organized codebases and sophisticated model configurations complicate the easy reuse of important innovations by a wide audience. Though there have been on-going efforts to improve reusability and simplify deep learning (DL) model development in disciplines like natural language processing and computer vision, none of them are optimized for challenges in the domain of DIA. This represents a major gap in the existing toolkit, as DIA is central to academic research across a wide range of disciplines in the social sciences and humanities. This paper introduces layoutparser, an open-source library for streamlining the usage of DL in DIA research and applications. The core layoutparser library comes with a set of simple and intuitive interfaces for applying and customizing DL models for layout detection, character recognition, and many other document processing tasks. To promote extensibility, layoutparser also incorporates a community platform for sharing both pre-trained models and full document digitization pipelines. We demonstrate that layoutparser is helpful for both lightweight and large-scale digitization pipelines in real-word use cases. The library is publicly available at https://layout-parser.github.io/.

View on arXivView PDF

Code Implementations(3)

Apache-2.0

A Unified Toolkit for Deep Learning Based Document Image Analysis

5,776530PythonJun 10, 20202 years agoApache-2.0
computer-visiondeep-learningdetectron2document-image-processingdocument-layout-analysis+5 more
Apache-2.0

Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.

86,59911,108C, C++May 8, 20205 months agoApache-2.0
ai4sciencechineseocrdocument-parsingdocument-translationkie+8 more

Document Layout Analysis resources repos for development with PdfPig.

63769C#Sep 2, 20193 years ago
altoalto-xmlcsharpdocstrumdocument-layout-analysis+12 more

Similar Papers

Cite this paper

@article{shen2021layoutparser,
  title  = {LayoutParser: A Unified Toolkit for Deep Learning Based Document Image Analysis},
  author = {Zejiang Shen and Ruochen Zhang and Melissa Dell and Benjamin Charles Germain Lee and Jacob Carlson and Weining Li},
  year   = {2021},
  eprint = {2103.15348},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.15348}
}

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/2103.15348.svg)](https://codeofpaper.com/paper/2103.15348)

Discussion