Layout-Parser / layout-parser

A Unified Toolkit for Deep Learning Based Document Image Analysis
https://layout-parser.github.io/
Apache License 2.0
4.78k stars 459 forks source link

Improve LayoutElements and Add Shape Operations #20

Closed lolipopshock closed 3 years ago

lolipopshock commented 3 years ago
  1. Improve robustness of current BaseLayoutElements
    1. Support 4-tuple-list [[p0_x, p0_y], [p1_x, p1_y], [p2_x, p2_y], [p3_x, p3_y]] as the input for Quadrilateral
    2. Add shape conversion shortcuts for TextBlocks
  2. Add support for union and intersect operations for BaseLayoutElements
  3. Add doc for union and intersect operations