Skip to content

Layout Parser v0.2.0: New features, models, and improvements!

Compare
Choose a tag to compare
@lolipopshock lolipopshock released this 12 Apr 19:59

Layout Parser v0.2.0 Release Notes

New Features

  1. Support for loading and exporting the layout data in json and csv , see #6
  2. Add support for union and intersect operations, see #20 and the detailed explanation

Improvements

  1. Functional improvements:
    1. 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', ... }
    2. Detectron2LayoutModel now supports the enforce_cpu flag that enforces using cpu even when CUDA devices are available.

    3. 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.

  2. Improve installation command and documentation, especially for installing Detectron2 on Windows platforms #25

New Models

  1. Add the table bank detection models that can identify table regions

Fixes

  1. Fix the incorrect layout issue mentioned in #9 - Thanks to @remidbs.
  2. Fix the some of the dependency issues mentioned in #11 and #13 by using iopath instead of fvcore. See #18, Thanks to @edisongustavo.