NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
A unified toolkit for Deep Learning Based Document Image Analysis
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 6 months
Nearly every release is documented
notes for 10 of 11 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
11 releases · first in 2020
One column per quarter.
fix one critical bug for visualization mentioned in #131 by @lolipopshock in https://github.com/Layout-Parser/layout-parser/pull/132
Full Changelog: https://github.com/Layout-Parser/layout-parser/compare/v0.3.3...v0.3.4
Robust pdf loading for empty pages by @lolipopshock in https://github.com/Layout-Parser/layout-parser/pull/115
inplace to True in sorting function by @yusanshi in https://github.com/Layout-Parser/layout-parser/pull/104Full Changelog: https://github.com/Layout-Parser/layout-parser/compare/v0.3.2...v0.3.3
Important fixes for multibackend layout model support:
Important fixes for multibackend layout model support:
Fixes for automatically setting label_map in Detectron2LayoutModel #75
label_map in Detectron2LayoutModel #75We are excited to release LayoutParser v0.3.0, with a lot of exciting updates and functional improvements.
We are excited to release LayoutParser v0.3.0, with a lot of exciting updates and functional improvements.
layoutparser library, and makes it easier for implementing customized layout models in the future. #54 #67AutoModel and improved model configuration parsing makes it easier load and use the layout detection models. #69
model = lp.AutoLayoutModel("lp://efficientdet/PubLayNet").layoutparser and the needed dependencies (see instructions). #65 #68layoutparser supports directly loading PDF files into as layout objects: #71import layoutparser as lp
pdf_layout, pdf_images = lp.load_pdf("path/to/pdf", load_images=True)
lp.draw_box(pdf_images[0], pdf_layout[0])
import layout parser as lp
page_layout = lp.load_pdf("tests/fixtures/io/example.pdf")[0]
pdf_lines = lp.simple_line_detection(page_layout)
Support for loading and exporting the layout data in json and csv , see #6
json and csv , see #6union and intersect operations, see #20 and the detailed explanationWhen loading Layout Parser official models, Detectron2LayoutModel can automatically detect the label_map, . For example,
model = lp.Detectron2LayoutModel("lp://HJDataset/faster_rcnn_R_50_FPN_3x/config")
model.label_map
# {1: 'Page Frame', ... }
Detectron2LayoutModel now supports the enforce_cpu flag that enforces using cpu even when CUDA devices are available.
For visualization.draw_box, it now supports a show_element_type flag that shows the bbox category name on the top left corner of the layout objects.
layout issue mentioned in #9 - Thanks to @remidbs.iopath instead of fvcore. See #18, Thanks to @edisongustavo.Supports lazy loading for the Detectron2 module. Now the dependency for Detectron2 will be requested only when you explicitly create a Detectron2Layou
Improvements:
Detectron2LayoutModel object. This might be helpful for using the plain layoutparser library without installing the Detectron2 module.New models:
lp://NewspaperNavigator/faster_rcnn_R_50_FPN_3x/configFixes:
In this version, we released a new model for publaynet and made several improvements:
In this version, we released a new model for publaynet and made several improvements:
mask_rcnn_X_101_32x8d_FPN_3x model trained on the publaynet dataset. Note: it's been trained on the full training set (while others are only trained on the validation set), and you could expect a 15% performance improvement based on this new model.Fixed a bug that could cause errors in loading Prima Models
layoutparser now supports the following functionalities:
layoutparser now supports the following functionalities:
Coordinate system:
OCR System:
Layout Modeling:
Visualization:
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →