Layout Parser v0.2.0: New features, models, and improvements!
Layout Parser v0.2.0 Release Notes
New Features
- Support for loading and exporting the layout data in
json
andcsv
, see #6 - Add support for
union
andintersect
operations, see #20 and the detailed explanation
Improvements
- Functional improvements:
-
When 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 theenforce_cpu
flag that enforces using cpu even when CUDA devices are available. -
For
visualization.draw_box
, it now supports ashow_element_type
flag that shows the bbox category name on the top left corner of the layout objects.
-
- Improve installation command and documentation, especially for installing Detectron2 on Windows platforms #25
New Models
- Add the table bank detection models that can identify table regions