feat(model): add xycut algorithm for block sorting
- Implement xycut algorithm to sort blocks when layoutreader fails - Add recursive_xy_cut function to perform the xycut algorithm- Update pdf_parse_union_core_v2.py to use xycut when layoutreader fails - Modify draw_bbox.py to handle cases where layoutreader fails to sort blocks
Showing
magic_pdf/model/v3/xycut.py
0 → 100644
Please register or sign in to comment