A unified toolkit for Deep Learning Based Document Image Analysis
pip install layoutparser
A unified toolkit for Deep Learning Based Document Image Analysis
What is LayoutParser

LayoutParser aims to provide a wide range of tools that aims to streamline Document Image Analysis (DIA) tasks. Please check the LayoutParser demo video (1 min) or full talk (15 min) for details. And here are some key features:
-
LayoutParser provides a rich repository of deep learning models for layout detection as well as a set of unified APIs for using them. For example,
Perform DL layout detection in 4 lines of code
import layoutparser as lp model = lp.AutoLayoutModel('lp://EfficientDete/PubLayNet') # image = Image.open("path/to/image") layout = model.detect(image) -
LayoutParser comes with a set of layout data structures with carefully designed APIs that are optimized for document image analysis tasks. For example,