| """ | |
| Layout Detection Module | |
| Detects document structure: text blocks, tables, figures, headings, etc. | |
| Supports multiple backends: rule-based, PaddleStructure, and LayoutLM. | |
| """ | |
| from .base import LayoutDetector, LayoutConfig, LayoutResult | |
| from .detector import ( | |
| RuleBasedLayoutDetector, | |
| get_layout_detector, | |
| create_layout_detector, | |
| ) | |
| __all__ = [ | |
| "LayoutDetector", | |
| "LayoutConfig", | |
| "LayoutResult", | |
| "RuleBasedLayoutDetector", | |
| "get_layout_detector", | |
| "create_layout_detector", | |
| ] | |