Expand description
Enhanced layout sorting logic compatible with PP-StructureV3.
This module implements the xycut_enhanced strategy which handles complex layouts
by separating headers/footers, identifying cross-column elements, and using
weighted distance metrics to insert titles and figures into the reading order.
Structs§
- Sortable
Block - A wrapper around layout elements with properties needed for sorting.
Enums§
- Order
Label - Label used for sorting logic.
Functions§
- sort_
layout_ enhanced - Main entry point for enhanced sorting.